Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.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.CoolProp.CO2.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 111 kB / 16.41 MB, free: 6.461 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.001099/0.001099, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01214/0.01214, allocations: 2.776 MB / 294 MB, free: 11.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.83 kB / 406.6 MB, free: 29.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1051, allocations: 50.23 MB / 456.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.4048/0.5099, allocations: 82.92 MB / 0.5271 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04027/0.5502, allocations: 40.73 MB / 0.5669 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.5522, allocations: 5.062 kB / 0.5669 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004211/0.5564, allocations: 1.247 MB / 0.5681 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02596/0.5824, allocations: 6.961 MB / 0.5749 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.5837, allocations: 273.1 kB / 0.5752 GB, free: 8.832 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002708/0.5864, allocations: 1.346 MB / 0.5765 GB, free: 7.738 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003243/0.5868, allocations: 109.8 kB / 0.5766 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009075/0.5877, allocations: 425.9 kB / 0.577 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.5889, allocations: 0.4974 MB / 0.5775 GB, free: 6.707 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.589, allocations: 40 kB / 0.5775 GB, free: 6.668 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.674/2.263, allocations: 167 MB / 0.7406 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003821/2.264, allocations: 145.6 kB / 0.7407 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001496/2.265, allocations: 0.602 MB / 0.7413 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.02472/2.29, allocations: 2.785 MB / 0.744 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/2.29, allocations: 0 / 0.744 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.194e-06/2.29, allocations: 0 / 0.744 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.077e-05/2.29, allocations: 0 / 0.744 GB, free: 124.2 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.002911/2.293, allocations: 1.624 MB / 0.7456 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/2.293, allocations: 10.05 kB / 0.7456 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007443/2.3, allocations: 1.216 MB / 0.7468 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/2.301, allocations: 282 kB / 0.7471 GB, free: 122.1 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/2.301, allocations: 70.12 kB / 0.7472 GB, free: 122.1 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000278/2.301, allocations: 96 kB / 0.7473 GB, free: 122 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003212/2.305, allocations: 1.702 MB / 0.7489 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/2.305, allocations: 0 / 0.7489 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.383e-05/2.305, allocations: 44.59 kB / 0.749 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/2.305, allocations: 72.53 kB / 0.749 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/2.307, allocations: 1.607 MB / 0.7506 GB, free: 120.4 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01057/2.318, allocations: 8.584 MB / 0.759 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/2.32, allocations: 0.7578 MB / 0.7597 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/2.321, allocations: 0.744 MB / 0.7604 GB, free: 112 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003475/2.324, allocations: 2.362 MB / 0.7628 GB, free: 110 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.019e-05/2.324, allocations: 36.16 kB / 0.7628 GB, free: 110 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 4.448e-06/2.324, allocations: 4 kB / 0.7628 GB, free: 110 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.004698/2.329, allocations: 1.516 MB / 0.7643 GB, free: 109.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/2.329, allocations: 81.11 kB / 0.7643 GB, free: 109 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/2.329, allocations: 136.7 kB / 0.7645 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/2.329, allocations: 28.95 kB / 0.7645 GB, free: 108.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/2.33, allocations: 402.6 kB / 0.7649 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004723/2.33, allocations: 0.5991 MB / 0.7655 GB, free: 108 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/2.33, allocations: 132.5 kB / 0.7656 GB, free: 107.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.362e-05/2.331, allocations: 317.4 kB / 0.7659 GB, free: 107.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000564/2.331, allocations: 334 kB / 0.7662 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006793/2.332, allocations: 0.489 MB / 0.7667 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/2.333, allocations: 1.026 MB / 0.7677 GB, free: 105.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/2.333, allocations: 0 / 0.7677 GB, free: 105.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001818/2.335, allocations: 1.057 MB / 0.7687 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/2.335, allocations: 8 kB / 0.7687 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/2.335, allocations: 4 kB / 0.7687 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/2.335, allocations: 7.984 kB / 0.7688 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/2.335, allocations: 34.23 kB / 0.7688 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/2.335, allocations: 9.844 kB / 0.7688 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004895/2.336, allocations: 89.77 kB / 0.7689 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.584e-05/2.336, allocations: 23.98 kB / 0.7689 GB, free: 104.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,state2.phase,state1.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0005299/2.337, allocations: 220.3 kB / 0.7691 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/2.337, allocations: 55.56 kB / 0.7692 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/2.337, allocations: 31.89 kB / 0.7692 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-05/2.337, allocations: 7.984 kB / 0.7692 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/2.337, allocations: 0 / 0.7692 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/2.337, allocations: 0 / 0.7692 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/2.339, allocations: 1.047 MB / 0.7702 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/2.339, allocations: 7.922 kB / 0.7702 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/2.339, allocations: 9.969 kB / 0.7702 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/2.339, allocations: 0 / 0.7702 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/2.339, allocations: 16 kB / 0.7703 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/2.339, allocations: 0 / 0.7703 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/2.339, allocations: 0 / 0.7703 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/2.34, allocations: 1.187 MB / 0.7714 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/2.341, allocations: 170.9 kB / 0.7716 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/2.341, allocations: 0 / 0.7716 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/2.341, allocations: 8 kB / 0.7716 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/2.341, allocations: 19.98 kB / 0.7716 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-05/2.341, allocations: 12 kB / 0.7716 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.3e-05/2.341, allocations: 95.27 kB / 0.7717 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/2.341, allocations: 0 / 0.7717 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001657/2.343, allocations: 386.9 kB / 0.7721 GB, free: 101.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (state2.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,state1.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.00122/2.344, allocations: 0.5396 MB / 0.7726 GB, free: 100.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00226/2.346, allocations: 1.739 MB / 0.7743 GB, free: 98.87 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/2.346, allocations: 0 / 0.7743 GB, free: 98.87 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/2.348, allocations: 1.826 MB / 0.7761 GB, free: 96.67 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003314/2.351, allocations: 465.6 kB / 0.7765 GB, free: 96.21 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004167/2.355, allocations: 2.27 MB / 0.7787 GB, free: 93.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009969/2.356, allocations: 1.297 MB / 0.78 GB, free: 92.58 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/2.357, allocations: 83.44 kB / 0.7801 GB, free: 92.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.332e-06/2.357, allocations: 3.938 kB / 0.7801 GB, free: 92.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.03997/2.397, allocations: 18.43 MB / 0.7981 GB, free: 74.35 MB / 0.5294 GB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1)