Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 104.3 kB / 19.77 MB, free: 2.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 218.5 kB / 23.07 MB, free: 4.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.37/1.37, allocations: 230.6 MB / 256.9 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.51/2.51, allocations: 476 MB / 0.7708 GB, free: 4.684 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.576e-05, allocations: 2.828 kB / 1.118 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001906/0.001922, allocations: 1.52 MB / 1.119 GB, free: 40.97 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0006052/0.002527, allocations: 468.8 kB / 1.12 GB, free: 40.92 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.408e-05/0.002571, allocations: 3.906 kB / 1.12 GB, free: 40.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.002595, allocations: 3.938 kB / 1.12 GB, free: 40.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 3.823e-05/0.002633, allocations: 11.78 kB / 1.12 GB, free: 40.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.002809, allocations: 38.25 kB / 1.12 GB, free: 40.9 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.587e-05/0.002905, allocations: 87.78 kB / 1.12 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.694e-05/0.002992, allocations: 8.312 kB / 1.12 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.003114, allocations: 38.47 kB / 1.12 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.64e-05/0.00316, allocations: 28.14 kB / 1.12 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.003172, allocations: 2.031 kB / 1.12 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 3.384e-05/0.003206, allocations: 8.719 kB / 1.12 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of combineBinaries: time 6.747e-05/0.003273, allocations: 101.4 kB / 1.12 GB, free: 40.85 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.863e-05/0.003292, allocations: 70.66 kB / 1.12 GB, free: 40.8 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.002e-05/0.003302, allocations: 2.906 kB / 1.12 GB, free: 40.8 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.698e-06/0.003311, allocations: 6.812 kB / 1.12 GB, free: 40.8 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 (5) * Number of variables: 5 (5) Notification: Performance of [SIM] Bindings: time 0.0002776/0.003589, allocations: 372.9 kB / 1.121 GB, free: 40.46 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 3.626e-05/0.003625, allocations: 46.84 kB / 1.121 GB, free: 40.43 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0001133/0.003739, allocations: 167.2 kB / 1.121 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 4.584e-05/0.003784, allocations: 89.83 kB / 1.121 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0002618/0.004046, allocations: 190.8 kB / 1.121 GB, free: 40.12 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 3.816e-05/0.004084, allocations: 75.58 kB / 1.121 GB, free: 40.03 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 1.585e-05/0.0041, allocations: 47.11 kB / 1.121 GB, free: 39.97 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 4.542e-05/0.004146, allocations: 95.17 kB / 1.121 GB, free: 39.86 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 4.57e-05/0.004191, allocations: 27.36 kB / 1.121 GB, free: 39.85 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 6.541e-05/0.004257, allocations: 64.22 kB / 1.121 GB, free: 39.83 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 9.967e-05/0.004356, allocations: 69.14 kB / 1.121 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 6.075e-05/0.004417, allocations: 103.4 kB / 1.122 GB, free: 39.81 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 8.863e-05/0.004506, allocations: 140.7 kB / 1.122 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 8.332e-05/0.004589, allocations: 165.7 kB / 1.122 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 6.161e-06/0.004595, allocations: 11.97 kB / 1.122 GB, free: 39.63 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 1.534e-05/0.004611, allocations: 24.03 kB / 1.122 GB, free: 39.63 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0001072/0.004718, allocations: 93.83 kB / 1.122 GB, free: 39.61 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 7.404e-06/0.004725, allocations: 2.781 kB / 1.122 GB, free: 39.61 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.21e-07/0.004726, allocations: 0 / 1.122 GB, free: 39.61 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 5.785e-05/0.004783, allocations: 48.81 kB / 1.122 GB, free: 39.59 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.316e-06/0.004787, allocations: 0.9375 kB / 1.122 GB, free: 39.59 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.424e-06/0.004789, allocations: 9.75 kB / 1.122 GB, free: 39.59 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 4.649e-06/0.004794, allocations: 0 / 1.122 GB, free: 39.59 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001421/0.004936, allocations: 159.5 kB / 1.122 GB, free: 39.58 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.386e-05/0.00501, allocations: 185.1 kB / 1.122 GB, free: 39.39 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (2) {$TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 5 (scalar:5, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 5 (scalar:5, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.504e-05/0.005035, allocations: 21.47 kB / 1.122 GB, free: 39.39 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003327/0.005368, allocations: 275.3 kB / 1.123 GB, free: 39.24 MB / 0.9044 GB Notification: Performance of Templates: time 0.002507/0.007875, allocations: 0.6081 MB / 1.123 GB, free: 39.22 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.4875306519679725] Failed to read output from testmodel.py, exit status != 0: 0.42200869997031987 0.021972334000000003 0.016762734 Calling exit ...