Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.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.0009115/0.0009115, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009167/0.0009167, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 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.031/1.031, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.01541/0.01541, allocations: 2 MB / 262.2 MB, free: 10.91 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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(ExternalMedia.Test.TestMedium.TestStatesSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat") translateModel(ExternalMedia.Test.TestMedium.TestStatesSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 332.8 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.275e-05, allocations: 2.312 kB / 332.8 MB, free: 1.734 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestStatesSat): time 0.01122/0.01125, allocations: 15.89 MB / 348.7 MB, free: 1.781 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.02225, allocations: 14.22 MB / 362.9 MB, free: 3.508 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.02344, allocations: 4 kB / 362.9 MB, free: 3.504 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008108/0.02425, allocations: 369.2 kB / 363.2 MB, free: 3.141 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1148:25-1162:18:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestStatesSat.Medium.setDewState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestStatesSat.Medium.setState_ph'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1132:25-1146:21:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestStatesSat.Medium.setBubbleState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestStatesSat.Medium.setState_ph'. Notification: Performance of NFTyping.typeBindings: time 0.004501/0.02875, allocations: 1.923 MB / 365.2 MB, free: 1.203 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestStatesSat.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestStatesSat.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.002477/0.03122, allocations: 1.052 MB / 366.2 MB, free: 148 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0022/0.03342, allocations: 1.846 MB / 368.1 MB, free: 14.28 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.0336, allocations: 51.91 kB / 368.1 MB, free: 14.22 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005232/0.03883, allocations: 0.859 MB / 369 MB, free: 13.38 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007945/0.03962, allocations: 498.5 kB / 369.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.84e-05/0.03969, allocations: 48 kB / 369.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.04194, allocations: 0.7886 MB / 370.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.0421, allocations: 202.7 kB / 370.5 MB, free: 11.85 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004651/0.04256, allocations: 478.8 kB / 371 MB, free: 11.38 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003229/0.04579, allocations: 1.545 MB / 372.5 MB, free: 9.832 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.0458, allocations: 0 / 372.5 MB, free: 9.832 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0458, allocations: 0 / 372.5 MB, free: 9.832 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.04581, allocations: 0 / 372.5 MB, free: 9.832 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.001451/0.04726, allocations: 1.77 MB / 374.3 MB, free: 8.016 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.0473, allocations: 12.03 kB / 374.3 MB, free: 8.004 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00351/0.05081, allocations: 2.734 MB / 377 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005536/0.05136, allocations: 422.6 kB / 377.4 MB, free: 4.824 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.397e-05/0.05142, allocations: 78.5 kB / 377.5 MB, free: 4.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.311e-05/0.05149, allocations: 104.4 kB / 377.6 MB, free: 4.645 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.05308, allocations: 1.164 MB / 378.8 MB, free: 3.383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.0531, allocations: 192 / 378.8 MB, free: 3.383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/0.05315, allocations: 52.12 kB / 378.8 MB, free: 3.332 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.601e-05/0.0532, allocations: 87.91 kB / 378.9 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005771/0.05378, allocations: 0.567 MB / 379.5 MB, free: 2.672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.05705, allocations: 4.371 MB / 383.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000598/0.05765, allocations: 0.5446 MB / 384.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.0579, allocations: 316.3 kB / 384.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002033/0.05993, allocations: 2.577 MB / 387.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.05996, allocations: 45.33 kB / 387.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=253): time 2.043e-06/0.05996, allocations: 0 / 387.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=253): time 0.001442/0.06141, allocations: 1.268 MB / 388.6 MB, free: 9.289 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.06148, allocations: 239.3 kB / 388.8 MB, free: 9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.06162, allocations: 241.6 kB / 389.1 MB, free: 8.746 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.06164, allocations: 33.7 kB / 389.1 MB, free: 8.707 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.06183, allocations: 481.6 kB / 389.6 MB, free: 8.227 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003686/0.0622, allocations: 0.8399 MB / 390.4 MB, free: 7.379 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.06238, allocations: 228 kB / 390.6 MB, free: 7.148 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.06249, allocations: 488.4 kB / 391.1 MB, free: 6.664 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.06262, allocations: 134.9 kB / 391.2 MB, free: 6.531 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.06294, allocations: 0.5092 MB / 391.8 MB, free: 5.895 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005491/0.06349, allocations: 0.7874 MB / 392.5 MB, free: 4.988 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.06349, allocations: 0 / 392.5 MB, free: 4.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.001003/0.06449, allocations: 0.8665 MB / 393.4 MB, free: 4.117 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.06451, allocations: 8 kB / 393.4 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.06452, allocations: 8 kB / 393.4 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.06454, allocations: 8 kB / 393.4 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.06469, allocations: 75.84 kB / 393.5 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.0647, allocations: 19.92 kB / 393.5 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.06498, allocations: 130.7 kB / 393.7 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.06501, allocations: 28 kB / 393.7 MB, free: 3.844 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 16 (completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,state2.phase,state1.phase,baseProperties2.phaseOutput,baseProperties2.state.phase,baseProperties1.phaseOutput,baseProperties1.state.phase,baseProperties1.phaseInput,baseProperties2.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.06521, allocations: 207.2 kB / 393.9 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.06535, allocations: 87.42 kB / 394 MB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.781e-05/0.06542, allocations: 50.42 kB / 394 MB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.06543, allocations: 23.97 kB / 394 MB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.06544, allocations: 4 kB / 394 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.06545, allocations: 0 / 394 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007695/0.06622, allocations: 0.6015 MB / 394.6 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.06622, allocations: 0 / 394.6 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.499e-05/0.0663, allocations: 39.86 kB / 394.7 MB, free: 2.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.06631, allocations: 8 kB / 394.7 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.06633, allocations: 23.98 kB / 394.7 MB, free: 2.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.06633, allocations: 3.984 kB / 394.7 MB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.06634, allocations: 4 kB / 394.7 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009381/0.06728, allocations: 1.794 MB / 396.5 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.384e-05/0.06736, allocations: 114.9 kB / 396.6 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.06739, allocations: 11.98 kB / 396.6 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/0.06768, allocations: 12 kB / 396.7 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/0.06775, allocations: 39.88 kB / 396.7 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.06777, allocations: 16 kB / 396.7 MB, free: 0.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.815e-05/0.06783, allocations: 160.1 kB / 396.9 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06783, allocations: 0 / 396.9 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008373/0.06867, allocations: 410.9 kB / 397.3 MB, free: 196 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (completeBubbleDewStates1.dewStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,state2.phase,state1.phase,baseProperties2.state.phase,baseProperties2.phaseOutput,baseProperties1.state.phase,baseProperties1.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004545/0.06912, allocations: 264.5 kB / 397.5 MB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.07031, allocations: 1.442 MB / 399 MB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.07031, allocations: 0 / 399 MB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.07151, allocations: 1.773 MB / 400.7 MB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/0.07338, allocations: 0.6421 MB / 401.4 MB, free: 11.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.07603, allocations: 2.443 MB / 403.8 MB, free: 9.055 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.07634, allocations: 367.4 kB / 404.2 MB, free: 8.668 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007192/0.07706, allocations: 414.9 kB / 404.6 MB, free: 8.262 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007721/0.07783, allocations: 0.572 MB / 405.2 MB, free: 7.688 MB / 378.7 MB Notification: Performance of SimCode: time 1.713e-06/0.07783, allocations: 0 / 405.2 MB, free: 7.688 MB / 378.7 MB Notification: Performance of Templates: time 0.0347/0.1125, allocations: 30.71 MB / 435.9 MB, free: 9.469 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8470738418400288]