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.001025/0.001025, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001487/0.001487, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.051/1.051, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.0101/0.0101, allocations: 1.993 MB / 263 MB, free: 10.88 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.182e-06/1.182e-06, allocations: 0 / 333.5 MB, free: 16.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.895e-05, allocations: 2.312 kB / 333.6 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestStatesSat): time 0.008138/0.008157, allocations: 15.91 MB / 349.5 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.01838, allocations: 14.22 MB / 363.7 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.01966, allocations: 4 kB / 363.7 MB, free: 2.434 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009113/0.02057, allocations: 369.1 kB / 364 MB, free: 2.07 MB / 282.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.004618/0.02519, allocations: 1.916 MB / 366 MB, free: 144 kB / 282.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.002998/0.02818, allocations: 1.049 MB / 367 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002446/0.03063, allocations: 1.846 MB / 368.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.03086, allocations: 55.91 kB / 368.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004989/0.03585, allocations: 0.8555 MB / 369.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.0369, allocations: 490.5 kB / 370.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.03705, allocations: 59.88 kB / 370.3 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.03952, allocations: 0.7964 MB / 371.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.03969, allocations: 194.7 kB / 371.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005232/0.04021, allocations: 482.8 kB / 371.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002586/0.0428, allocations: 1.537 MB / 373.3 MB, free: 8.773 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.0428, allocations: 0 / 373.3 MB, free: 8.773 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.04281, allocations: 0 / 373.3 MB, free: 8.773 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.04282, allocations: 0 / 373.3 MB, free: 8.773 MB / 298.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.001477/0.0443, allocations: 1.767 MB / 375.1 MB, free: 6.961 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.04433, allocations: 8.031 kB / 375.1 MB, free: 6.953 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003734/0.04807, allocations: 2.741 MB / 377.8 MB, free: 4.207 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005234/0.04859, allocations: 418.6 kB / 378.2 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.1e-05/0.04864, allocations: 78.5 kB / 378.3 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.445e-05/0.04872, allocations: 108.4 kB / 378.4 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.0498, allocations: 1.168 MB / 379.6 MB, free: 2.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.04982, allocations: 4.125 kB / 379.6 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.802e-05/0.04987, allocations: 48.12 kB / 379.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.65e-05/0.04992, allocations: 95.91 kB / 379.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006177/0.05053, allocations: 0.5598 MB / 380.3 MB, free: 1.605 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003784/0.05432, allocations: 4.375 MB / 384.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006151/0.05493, allocations: 0.537 MB / 385.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.05518, allocations: 316 kB / 385.5 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001727/0.05691, allocations: 2.531 MB / 388 MB, free: 9.598 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.05694, allocations: 45.33 kB / 388.1 MB, free: 9.543 MB / 314.7 MB Notification: Performance of pre-optimization done (n=253): time 3.316e-06/0.05694, allocations: 3.984 kB / 388.1 MB, free: 9.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=253): time 0.001477/0.05842, allocations: 1.259 MB / 389.3 MB, free: 8.281 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.796e-05/0.0585, allocations: 239.3 kB / 389.6 MB, free: 7.992 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.05864, allocations: 245.6 kB / 389.8 MB, free: 7.734 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.05867, allocations: 33.7 kB / 389.8 MB, free: 7.695 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.05889, allocations: 482 kB / 390.3 MB, free: 7.215 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004352/0.05932, allocations: 0.8438 MB / 391.2 MB, free: 6.363 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.05952, allocations: 228 kB / 391.4 MB, free: 6.129 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003827/0.0599, allocations: 488.4 kB / 391.9 MB, free: 5.645 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.06004, allocations: 138.5 kB / 392 MB, free: 5.508 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.06034, allocations: 0.4976 MB / 392.5 MB, free: 4.883 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005301/0.06087, allocations: 0.8068 MB / 393.3 MB, free: 3.961 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.06088, allocations: 0 / 393.3 MB, free: 3.961 MB / 314.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.0007766/0.06165, allocations: 0.874 MB / 394.2 MB, free: 3.078 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.06167, allocations: 8 kB / 394.2 MB, free: 3.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.06169, allocations: 8 kB / 394.2 MB, free: 3.062 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.0617, allocations: 8 kB / 394.2 MB, free: 3.055 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.06187, allocations: 72.59 kB / 394.3 MB, free: 2.984 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.06188, allocations: 19.94 kB / 394.3 MB, free: 2.965 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/0.06216, allocations: 130.7 kB / 394.4 MB, free: 2.836 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.06219, allocations: 28 kB / 394.4 MB, free: 2.809 MB / 314.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.0002159/0.06241, allocations: 199 kB / 394.6 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.06256, allocations: 83.44 kB / 394.7 MB, free: 2.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.896e-05/0.06263, allocations: 54.39 kB / 394.8 MB, free: 2.465 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.06265, allocations: 23.97 kB / 394.8 MB, free: 2.441 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.06265, allocations: 4 kB / 394.8 MB, free: 2.438 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.06266, allocations: 0 / 394.8 MB, free: 2.438 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007945/0.06345, allocations: 0.6096 MB / 395.4 MB, free: 1.797 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.06346, allocations: 0 / 395.4 MB, free: 1.797 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.177e-05/0.06354, allocations: 43.86 kB / 395.4 MB, free: 1.754 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.06354, allocations: 4 kB / 395.4 MB, free: 1.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.06356, allocations: 16 kB / 395.5 MB, free: 1.734 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.06357, allocations: 3.984 kB / 395.5 MB, free: 1.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.06357, allocations: 4 kB / 395.5 MB, free: 1.727 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009569/0.06452, allocations: 1.794 MB / 397.3 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.965e-05/0.06462, allocations: 114.9 kB / 397.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.06465, allocations: 15.94 kB / 397.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.06493, allocations: 19.94 kB / 397.4 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.06499, allocations: 35.94 kB / 397.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.06502, allocations: 16 kB / 397.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.761e-05/0.06508, allocations: 155.1 kB / 397.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06508, allocations: 0 / 397.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008556/0.06593, allocations: 407 kB / 398 MB, free: 15.16 MB / 330.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.0004551/0.06639, allocations: 252.9 kB / 398.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.06765, allocations: 1.446 MB / 399.7 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.06765, allocations: 0 / 399.7 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008449/0.0685, allocations: 1.773 MB / 401.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/0.07036, allocations: 0.6433 MB / 402.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.07311, allocations: 2.458 MB / 404.6 MB, free: 8.016 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.07342, allocations: 363.5 kB / 404.9 MB, free: 7.637 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007977/0.07422, allocations: 418.9 kB / 405.3 MB, free: 7.223 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/0.07536, allocations: 0.572 MB / 405.9 MB, free: 6.648 MB / 330.7 MB Notification: Performance of SimCode: time 1.353e-06/0.07536, allocations: 0 / 405.9 MB, free: 6.648 MB / 330.7 MB Notification: Performance of Templates: time 0.1313/0.2066, allocations: 31.35 MB / 437.3 MB, free: 67.73 MB / 330.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.987995379138738]