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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.TestMedium.TestStatesSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat") translateModel(ExternalMedia.Test.TestMedium.TestStatesSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 195.5 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1329/0.1329, allocations: 2.755 MB / 292.7 MB, free: 3.762 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 56.16 kB / 353.7 MB, free: 5.07 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09299/0.09402, allocations: 50.23 MB / 403.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestStatesSat): time 0.2046/0.2986, allocations: 82.75 MB / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04165/0.3403, allocations: 51.23 MB / 0.5253 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.3417, allocations: 5.375 kB / 0.5253 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002924/0.3447, allocations: 1.193 MB / 0.5265 GB, free: 7.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0183/0.363, allocations: 6.572 MB / 0.5329 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004513/0.3676, allocations: 1.568 MB / 0.5344 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002101/0.3697, allocations: 1.78 MB / 0.5362 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.3699, allocations: 130.6 kB / 0.5363 GB, free: 308 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004551/0.3745, allocations: 0.5538 MB / 0.5368 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009215/0.3754, allocations: 0.6062 MB / 0.5374 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.24e-05/0.3755, allocations: 28 kB / 0.5375 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01574/0.3912, allocations: 3.545 MB / 0.5409 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003978/0.3916, allocations: 178.8 kB / 0.5411 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.3929, allocations: 0.6955 MB / 0.5418 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01375/0.4066, allocations: 3.284 MB / 0.545 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.4067, allocations: 0 / 0.545 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4067, allocations: 3.938 kB / 0.545 GB, free: 7.422 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.4067, allocations: 0 / 0.545 GB, free: 7.422 MB / 414.1 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.002713/0.4094, allocations: 1.983 MB / 0.5469 GB, free: 5.391 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4095, allocations: 12.03 kB / 0.5469 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004766/0.4142, allocations: 1.306 MB / 0.5482 GB, free: 4.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005797/0.4148, allocations: 475.2 kB / 0.5487 GB, free: 3.566 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.241e-05/0.4149, allocations: 78.5 kB / 0.5487 GB, free: 3.488 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.415, allocations: 100.4 kB / 0.5488 GB, free: 3.391 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002445/0.4175, allocations: 1.861 MB / 0.5507 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.4175, allocations: 4 kB / 0.5507 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-05/0.4176, allocations: 40 kB / 0.5507 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.015e-05/0.4177, allocations: 91.91 kB / 0.5508 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.4199, allocations: 1.725 MB / 0.5525 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006387/0.4263, allocations: 8.546 MB / 0.5608 GB, free: 6.051 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.4279, allocations: 0.998 MB / 0.5618 GB, free: 4.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009114/0.4289, allocations: 0.8214 MB / 0.5626 GB, free: 4.133 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002902/0.4318, allocations: 3.544 MB / 0.566 GB, free: 224 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.4318, allocations: 46.48 kB / 0.5661 GB, free: 168 kB / 430.1 MB Notification: Performance of pre-optimization done (n=253): time 2.114e-06/0.4318, allocations: 0 / 0.5661 GB, free: 168 kB / 430.1 MB Notification: Performance of matching and sorting (n=253): time 0.00308/0.4349, allocations: 1.749 MB / 0.5678 GB, free: 14.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.435, allocations: 243.2 kB / 0.568 GB, free: 14.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.4352, allocations: 186.7 kB / 0.5682 GB, free: 13.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.4353, allocations: 33.7 kB / 0.5682 GB, free: 13.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.4355, allocations: 421.4 kB / 0.5686 GB, free: 13.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004696/0.436, allocations: 0.7808 MB / 0.5694 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.4362, allocations: 198.2 kB / 0.5696 GB, free: 12.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.4363, allocations: 310 kB / 0.5699 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/0.4368, allocations: 378.5 kB / 0.5703 GB, free: 11.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007434/0.4376, allocations: 0.6321 MB / 0.5709 GB, free: 11.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.439, allocations: 1.184 MB / 0.572 GB, free: 9.797 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.439, allocations: 8.281 kB / 0.572 GB, free: 9.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.001662/0.4407, allocations: 1.198 MB / 0.5732 GB, free: 8.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4407, allocations: 8.094 kB / 0.5732 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.4407, allocations: 11.94 kB / 0.5732 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.4407, allocations: 8 kB / 0.5732 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.441, allocations: 79.83 kB / 0.5733 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.441, allocations: 15.94 kB / 0.5733 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006196/0.4417, allocations: 178.6 kB / 0.5735 GB, free: 8.293 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.935e-05/0.4417, allocations: 28 kB / 0.5735 GB, free: 8.266 MB / 446.1 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,baseProperties2.phaseInput,baseProperties1.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.0003604/0.4421, allocations: 264.2 kB / 0.5738 GB, free: 7.996 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/0.4423, allocations: 70.97 kB / 0.5738 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003583/0.4459, allocations: 3.247 MB / 0.577 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001934/0.4478, allocations: 1.759 MB / 0.5787 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.4479, allocations: 7.938 kB / 0.5787 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.876e-05/0.4479, allocations: 11.91 kB / 0.5787 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1549/0.6028, allocations: 5.104 MB / 0.5837 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/0.6028, allocations: 4.719 kB / 0.5837 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007806/0.6036, allocations: 286 kB / 0.584 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.6037, allocations: 10.72 kB / 0.584 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.389e-05/0.6037, allocations: 40.05 kB / 0.5841 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/0.6037, allocations: 13.78 kB / 0.5841 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6037, allocations: 3.156 kB / 0.5841 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.6063, allocations: 2.905 MB / 0.5869 GB, free: 137 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003253/0.6066, allocations: 265.9 kB / 0.5872 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.604e-05/0.6067, allocations: 33.81 kB / 0.5872 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009226/0.6076, allocations: 184.6 kB / 0.5874 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.6078, allocations: 119.3 kB / 0.5875 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.719e-05/0.6078, allocations: 47.59 kB / 0.5875 GB, free: 136.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.81e-05/0.6079, allocations: 119.6 kB / 0.5876 GB, free: 136.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6079, allocations: 6.562 kB / 0.5877 GB, free: 136.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001366/0.6093, allocations: 0.5058 MB / 0.5881 GB, free: 136.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 (baseProperties1.state.phase,baseProperties1.phaseOutput,baseProperties2.state.phase,baseProperties2.phaseOutput,state1.phase,$cse11.phase,state2.phase,$cse10.phase,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,$cse1.phase,$cse2.phase,$cse3.phase,$cse4.phase,$cse5.phase,$cse6.phase,$cse7.phase,$cse8.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (199): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.0006676/0.61, allocations: 0.4991 MB / 0.5886 GB, free: 136.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002044/0.612, allocations: 2.451 MB / 0.591 GB, free: 134.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6121, allocations: 3.781 kB / 0.591 GB, free: 134.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.6131, allocations: 1.229 MB / 0.5922 GB, free: 134.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004594/0.6177, allocations: 1.011 MB / 0.5932 GB, free: 134.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003978/0.6217, allocations: 4.47 MB / 0.5976 GB, free: 131.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007381/0.6225, allocations: 1.467 MB / 0.599 GB, free: 130.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009295/0.6234, allocations: 268.9 kB / 0.5993 GB, free: 130.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.6236, allocations: 103.1 kB / 0.5994 GB, free: 130.9 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6236, allocations: 0 / 0.5994 GB, free: 130.9 MB / 446.1 MB Notification: Performance of Templates: time 0.04795/0.6715, allocations: 35.88 MB / 0.6344 GB, free: 121.5 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.makefile (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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.pipe 2>&1)