Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.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.001261/0.001261, allocations: 85.7 kB / 19.96 MB, free: 1.941 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.001384/0.001384, allocations: 162.8 kB / 23.23 MB, free: 4.969 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.359/1.359, allocations: 177.2 MB / 203.6 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 179] 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.13/1.13, allocations: 154.7 MB / 414.7 MB, free: 5.172 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.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety") translateModel(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.213e-05, allocations: 4.469 kB / 0.6196 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety): time 0.007613/0.007635, allocations: 4.734 MB / 0.6242 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004792/0.01243, allocations: 2.502 MB / 0.6267 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008956/0.01332, allocations: 27.81 kB / 0.6267 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009963/0.01432, allocations: 283.6 kB / 0.627 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001306/0.01563, allocations: 433.4 kB / 0.6274 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.01698, allocations: 0.5712 MB / 0.6279 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002292/0.01927, allocations: 1.794 MB / 0.6297 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.02028, allocations: 450.9 kB / 0.6301 GB, free: 9.672 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001608/0.02189, allocations: 0.9356 MB / 0.631 GB, free: 8.734 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008534/0.02274, allocations: 0.5103 MB / 0.6315 GB, free: 8.223 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003525/0.02309, allocations: 176 kB / 0.6317 GB, free: 8.051 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006704/0.02376, allocations: 323.5 kB / 0.632 GB, free: 7.734 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.002108/0.02587, allocations: 2.277 MB / 0.6342 GB, free: 5.438 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 0.001105/0.02698, allocations: 1.327 MB / 0.6355 GB, free: 4.094 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.02731, allocations: 72 kB / 0.6356 GB, free: 4.023 MB / 0.545 GB Notification: Performance of FrontEnd: time 0.0002164/0.02752, allocations: 71.42 kB / 0.6357 GB, free: 3.953 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 (207) * Number of variables: 207 (201) Notification: Performance of [SIM] Bindings: time 0.006045/0.03357, allocations: 5.827 MB / 0.6413 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of [SIM] FunctionAlias: time 0.001031/0.0346, allocations: 0.933 MB / 0.6423 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of [SIM] Early Inline: time 0.003293/0.03789, allocations: 3.457 MB / 0.6456 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of [SIM] Simplify 1: time 0.0008938/0.03879, allocations: 0.5501 MB / 0.6462 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of [SIM] Alias: time 0.006704/0.04549, allocations: 5.023 MB / 0.6511 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of [SIM] Simplify 2: time 0.0006129/0.0461, allocations: 417.1 kB / 0.6515 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of [SIM] Remove Stream: time 0.0003743/0.04648, allocations: 357.2 kB / 0.6518 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of [SIM] Detect States: time 0.001295/0.04777, allocations: 1.118 MB / 0.6529 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of [SIM] Events: time 0.0006914/0.04846, allocations: 0.5512 MB / 0.6534 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of [SIM] Partitioning: time 0.001318/0.04978, allocations: 1.087 MB / 0.6545 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of [SIM] Causalize: time 0.00213/0.05191, allocations: 1.573 MB / 0.656 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002303/0.05421, allocations: 2.475 MB / 0.6585 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of [INI] Simplify: time 0.004116/0.05833, allocations: 1.884 MB / 0.6603 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of [INI] Inline: time 0.003381/0.06171, allocations: 3.526 MB / 0.6637 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of [INI] Partitioning: time 0.0001619/0.06187, allocations: 72.05 kB / 0.6638 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of [INI] Cleanup: time 0.0007562/0.06263, allocations: 0.8118 MB / 0.6646 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of [INI] Causalize: time 0.005762/0.06839, allocations: 4.188 MB / 0.6687 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of [INI] Tearing: time 8.171e-05/0.06847, allocations: 112 kB / 0.6688 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of [SIM] Initialization: time 1.042e-06/0.06847, allocations: 0 / 0.6688 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of [SIM] Remove Dummies: time 1.427e-05/0.06849, allocations: 1 kB / 0.6688 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of [SIM] Tearing: time 3.402e-05/0.06852, allocations: 59.94 kB / 0.6689 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of [SIM] Categorize: time 1.321e-05/0.06854, allocations: 4 kB / 0.6689 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of [SIM] Solve: time 0.001858/0.07039, allocations: 1.367 MB / 0.6702 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of [SIM] Jacobian: time 1.201e-05/0.07041, allocations: 4.562 kB / 0.6702 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.71e-07/0.07041, allocations: 8 kB / 0.6702 GB, free: 15.37 MB / 0.5919 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: .................... 17 (17) {mEvaEmu_flow.T_start, mEvaEmu_flow.count, mConEmu_flow.T_start, mConEmu_flow.count, TEvaInEmu.T_start, TEvaInEmu.count, TConOutEmu.T_start, TConOutEmu.count, TEvaOutEmu.T_start, TEvaOutEmu.count, TConInEmu.T_start, TConInEmu.count, ySetPul.T_start, ySetPul.count, safCtr.minVolFloRatSaf.disErr.y, safCtr.antFre.disErr.y, safCtr.opeEnv.disErr.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 71 (65) {hys.y, safCtr.opeEnv.errAndSetOn.y, safCtr.opeEnv.onOffSet, safCtr.opeEnv.canOpe, safCtr.opeEnv.bouMapHea.nor.u, safCtr.opeEnv.bouMapHea.hysLef.y, safCtr.opeEnv.bouMapHea.hysRig.y, safCtr.opeEnv.bouMapHea.hysBou.y, safCtr.opeEnv.bouMapCoo.nor.u, safCtr.opeEnv.bouMapCoo.hysLef.y, safCtr.opeEnv.bouMapCoo.hysRig.y, safCtr.opeEnv.bouMapCoo.hysBou.y, safCtr.opeEnv.swiHeaCoo.u1, safCtr.opeEnv.swiHeaCoo.u3, safCtr.antFre.errAndSetOn.y, safCtr.antFre.canOpe, safCtr.antFre.hys.y, safCtr.opeEnvErr, safCtr.antFreErr, safCtr.minVolFloRatSaf.errAndSetOn.y, safCtr.minVolFloRatSaf.canOpe, safCtr.minVolFloRatSaf.hysCon.y, safCtr.minVolFloRatSaf.hysEva.y, safCtr.minFlowErr, safCtr.ySetOn.y, safCtr.andCanOpe.u, safCtr.andCanOpe.y, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_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: ........... 99 (scalar:99, array:0, record:0) * Number of multi strong components: ............ 17 (algorithm:0, when:17, 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: ........... 211 (scalar:195, array:16, record:0) * Number of multi strong components: ............ 7 (algorithm:7, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 6 (resizable: 6, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 9.51e-05/0.0705, allocations: 82.48 kB / 0.6703 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of SimCode: time 0.007825/0.07833, allocations: 5.732 MB / 0.6759 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of Templates: time 0.02212/0.1004, allocations: 11.89 MB / 0.6875 GB, free: 13.89 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.095955021679401] Failed to read output from testmodel.py, exit status != 0: 0.1090903952717781 0.416334014 0.09173813800000001 Calling exit ...