Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001302/0.001302, allocations: 74.72 kB / 19.96 MB, free: 1.453 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.001466/0.001466, allocations: 169.2 kB / 23.23 MB, free: 4.191 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.327/1.327, allocations: 177.2 MB / 203.6 MB, free: 8.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.147/1.147, allocations: 154.7 MB / 414.7 MB, free: 6.5 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.654e-05, allocations: 3.266 kB / 0.6195 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.0025/0.002516, allocations: 1.515 MB / 0.621 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008207/0.003337, allocations: 476.3 kB / 0.6215 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/0.003391, allocations: 1 kB / 0.6215 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.00342, allocations: 3.938 kB / 0.6215 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.022e-05/0.003481, allocations: 15.31 kB / 0.6215 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.003702, allocations: 39.88 kB / 0.6215 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.003833, allocations: 79.77 kB / 0.6216 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.227e-05/0.003925, allocations: 8 kB / 0.6216 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.004102, allocations: 55.88 kB / 0.6217 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.382e-05/0.004156, allocations: 11.98 kB / 0.6217 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.004171, allocations: 0.5 kB / 0.6217 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.211e-05/0.004213, allocations: 16.48 kB / 0.6217 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.000109/0.004322, allocations: 90.97 kB / 0.6218 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 3.702e-05/0.004359, allocations: 57.25 kB / 0.6218 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.475e-05/0.004374, allocations: 8 kB / 0.6218 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.998e-06/0.004384, allocations: 0 / 0.6218 GB, free: 2.043 MB / 0.5137 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.0005254/0.004909, allocations: 380.4 kB / 0.6222 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001323/0.005042, allocations: 54.41 kB / 0.6222 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of [SIM] Early Inline: time 0.0002512/0.005293, allocations: 201.8 kB / 0.6224 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 1: time 0.0001077/0.005401, allocations: 82.03 kB / 0.6225 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of [SIM] Alias: time 0.0004/0.005801, allocations: 213.5 kB / 0.6227 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 2: time 8.568e-05/0.005886, allocations: 77.78 kB / 0.6228 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of [SIM] Remove Stream: time 4.699e-05/0.005933, allocations: 48.86 kB / 0.6228 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of [SIM] Detect States: time 0.0001414/0.006075, allocations: 123.6 kB / 0.623 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of [SIM] Events: time 5.997e-05/0.006135, allocations: 19.97 kB / 0.623 GB, free: 488 kB / 0.5137 GB Notification: Performance of [SIM] Partitioning: time 0.0001545/0.006289, allocations: 108.5 kB / 0.6231 GB, free: 344 kB / 0.5137 GB Notification: Performance of [SIM] Causalize: time 0.0001655/0.006455, allocations: 108.7 kB / 0.6232 GB, free: 228 kB / 0.5137 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001052/0.00656, allocations: 113.9 kB / 0.6233 GB, free: 116 kB / 0.5137 GB Notification: Performance of [INI] Simplify: time 0.0001855/0.006745, allocations: 136.9 kB / 0.6234 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of [INI] Inline: time 0.0001753/0.006921, allocations: 191.8 kB / 0.6236 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of [INI] Partitioning: time 1.691e-05/0.006938, allocations: 13.75 kB / 0.6236 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of [INI] Cleanup: time 4.409e-05/0.006982, allocations: 39.95 kB / 0.6237 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of [INI] Causalize: time 0.0001858/0.007167, allocations: 116.2 kB / 0.6238 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of [INI] Tearing: time 1.22e-05/0.00718, allocations: 8 kB / 0.6238 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.00718, allocations: 4.688 kB / 0.6238 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of [SIM] Remove Dummies: time 3.216e-06/0.007183, allocations: 2.562 kB / 0.6238 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of [SIM] Tearing: time 1.303e-06/0.007185, allocations: 0 / 0.6238 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of [SIM] Categorize: time 9.177e-06/0.007194, allocations: 7.938 kB / 0.6238 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of [SIM] Solve: time 0.0001142/0.007308, allocations: 67.94 kB / 0.6239 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 6.532e-06/0.007314, allocations: 0 / 0.6239 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of [SIM] Minimize Homotopy System: time 2.8e-07/0.007315, allocations: 1.344 kB / 0.6239 GB, free: 15.45 MB / 0.5294 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: ........... 7 (scalar:7, 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: ........... 7 (scalar:7, 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 3.195e-05/0.007347, allocations: 15.27 kB / 0.6239 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of SimCode: time 0.000481/0.007828, allocations: 263.4 kB / 0.6241 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of Templates: time 0.002676/0.0105, allocations: 489.2 kB / 0.6246 GB, free: 14.73 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.365402657538652] Failed to read output from testmodel.py, exit status != 0: 0.01767822727560997 0.031720496 0.024483833 Calling exit ...