Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005017/0.005017, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.001366/0.001366, allocations: 196.7 kB / 16.67 MB, free: 5.969 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1485/0.1485, allocations: 2.76 MB / 293.3 MB, free: 3.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00222/0.002221, allocations: 59.89 kB / 405.4 MB, free: 1.402 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2651, allocations: 50.23 MB / 455.7 MB, free: 20.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.0738/0.3389, allocations: 82.95 MB / 0.526 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03795/0.3769, allocations: 40.73 MB / 0.5658 GB, free: 9.156 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.378, allocations: 4 kB / 0.5658 GB, free: 9.152 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002986/0.381, allocations: 1.239 MB / 0.567 GB, free: 7.906 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01978/0.4008, allocations: 6.965 MB / 0.5738 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.4019, allocations: 266.1 kB / 0.574 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0021/0.404, allocations: 1.35 MB / 0.5754 GB, free: 15.27 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.4042, allocations: 115 kB / 0.5755 GB, free: 15.14 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004053/0.4046, allocations: 417.9 kB / 0.5759 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006143/0.4052, allocations: 0.4936 MB / 0.5763 GB, free: 14.24 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.334e-05/0.4053, allocations: 40 kB / 0.5764 GB, free: 14.2 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.816/2.221, allocations: 169.1 MB / 0.7415 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001952/2.222, allocations: 146.2 kB / 0.7417 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008562/2.222, allocations: 0.6003 MB / 0.7422 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009982/2.232, allocations: 2.789 MB / 0.745 GB, free: 8.406 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/2.232, allocations: 0 / 0.745 GB, free: 8.406 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/2.232, allocations: 0 / 0.745 GB, free: 8.406 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.194e-05/2.232, allocations: 0 / 0.745 GB, free: 8.406 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: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.001869/2.234, allocations: 1.627 MB / 0.7466 GB, free: 6.938 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/2.234, allocations: 8.031 kB / 0.7466 GB, free: 6.93 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001999/2.235, allocations: 208.4 kB / 0.7468 GB, free: 6.797 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004231/2.239, allocations: 1.218 MB / 0.7479 GB, free: 6.031 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/2.239, allocations: 281 kB / 0.7482 GB, free: 5.754 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-05/2.239, allocations: 72.38 kB / 0.7483 GB, free: 5.711 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/2.239, allocations: 96.19 kB / 0.7484 GB, free: 5.648 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/2.241, allocations: 1.698 MB / 0.75 GB, free: 4.648 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/2.241, allocations: 4 kB / 0.75 GB, free: 4.645 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.406e-05/2.242, allocations: 38.75 kB / 0.7501 GB, free: 4.637 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005551/2.242, allocations: 74.5 kB / 0.7501 GB, free: 4.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/2.244, allocations: 1.603 MB / 0.7517 GB, free: 3.715 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007359/2.251, allocations: 8.585 MB / 0.7601 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008673/2.252, allocations: 0.7618 MB / 0.7608 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006971/2.253, allocations: 0.7418 MB / 0.7616 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002701/2.256, allocations: 2.357 MB / 0.7639 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/2.256, allocations: 44.47 kB / 0.7639 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=182): time 2.104e-06/2.256, allocations: 0 / 0.7639 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=182): time 0.01136/2.267, allocations: 1.513 MB / 0.7654 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/2.267, allocations: 85.11 kB / 0.7655 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/2.267, allocations: 129.2 kB / 0.7656 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/2.267, allocations: 25.7 kB / 0.7656 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/2.268, allocations: 412 kB / 0.766 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004848/2.268, allocations: 0.5922 MB / 0.7666 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/2.268, allocations: 140.2 kB / 0.7667 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001338/2.269, allocations: 306 kB / 0.767 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/2.269, allocations: 337.9 kB / 0.7673 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/2.27, allocations: 0.493 MB / 0.7678 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/2.271, allocations: 1.016 MB / 0.7688 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/2.271, allocations: 0 / 0.7688 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001535/2.272, allocations: 1.058 MB / 0.7698 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/2.272, allocations: 8 kB / 0.7698 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/2.272, allocations: 4 kB / 0.7699 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/2.272, allocations: 4 kB / 0.7699 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/2.273, allocations: 31.27 kB / 0.7699 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/2.273, allocations: 4 kB / 0.7699 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/2.273, allocations: 91.08 kB / 0.77 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/2.273, allocations: 20 kB / 0.77 GB, free: 2.875 MB / 0.5606 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.0003844/2.273, allocations: 225.1 kB / 0.7702 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/2.274, allocations: 55.61 kB / 0.7703 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/2.274, allocations: 35.89 kB / 0.7703 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/2.274, allocations: 7.984 kB / 0.7703 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/2.274, allocations: 4 kB / 0.7703 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/2.274, allocations: 0 / 0.7703 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/2.275, allocations: 1.041 MB / 0.7713 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/2.275, allocations: 6.984 kB / 0.7713 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/2.275, allocations: 4 kB / 0.7713 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/2.275, allocations: 8 kB / 0.7713 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/2.275, allocations: 15.98 kB / 0.7714 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/2.275, allocations: 0 / 0.7714 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/2.275, allocations: 4 kB / 0.7714 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/2.277, allocations: 1.202 MB / 0.7725 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/2.277, allocations: 156.2 kB / 0.7727 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/2.277, allocations: 4 kB / 0.7727 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/2.277, allocations: 8 kB / 0.7727 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/2.277, allocations: 19.98 kB / 0.7727 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.459e-05/2.277, allocations: 20.05 kB / 0.7727 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.648e-05/2.277, allocations: 87.66 kB / 0.7728 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/2.277, allocations: 0 / 0.7728 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009923/2.278, allocations: 386.9 kB / 0.7732 GB, free: 15.52 MB / 0.5762 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.002674/2.281, allocations: 2.161 MB / 0.7753 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002089/2.283, allocations: 1.755 MB / 0.777 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/2.283, allocations: 4.062 kB / 0.777 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001721/2.285, allocations: 1.821 MB / 0.7788 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/2.287, allocations: 461.6 kB / 0.7792 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00394/2.291, allocations: 2.387 MB / 0.7816 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/2.292, allocations: 1.293 MB / 0.7828 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006551/2.293, allocations: 175.5 kB / 0.783 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007672/2.294, allocations: 0.6243 MB / 0.7836 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/2.294, allocations: 0 / 0.7836 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2547/2.549, allocations: 41.92 MB / 0.8245 GB, free: 255.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/13.84, allocations: 4.625 kB / 0.8246 GB, free: 255.4 MB / 0.5919 GB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe 2>&1)