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.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.001339/0.001339, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 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.002355/0.002355, allocations: 220.6 kB / 23.03 MB, free: 4.918 MB / 14.72 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01247/0.01247, allocations: 2.808 MB / 316 MB, free: 92 kB / 238.1 MB " [Timeout remaining time 180] 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.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: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 63.91 kB / 439.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1071, allocations: 54.17 MB / 493.6 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.284/0.3911, allocations: 73.91 MB / 0.5542 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03699/0.4281, allocations: 35.19 MB / 0.5886 GB, free: 8.512 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.4292, allocations: 4 kB / 0.5886 GB, free: 8.508 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003154/0.4323, allocations: 1.002 MB / 0.5896 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01994/0.4523, allocations: 6.764 MB / 0.5962 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009668/0.4532, allocations: 274 kB / 0.5964 GB, free: 428 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002039/0.4553, allocations: 1.346 MB / 0.5977 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.4554, allocations: 51.19 kB / 0.5978 GB, free: 15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005309/0.4559, allocations: 437.9 kB / 0.5982 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000723/0.4567, allocations: 0.4935 MB / 0.5987 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.783e-05/0.4567, allocations: 39.94 kB / 0.5987 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.703/2.159, allocations: 167.9 MB / 0.7627 GB, free: 88.37 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002247/2.16, allocations: 150.2 kB / 0.7629 GB, free: 88.33 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001043/2.161, allocations: 490.6 kB / 0.7633 GB, free: 88.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01121/2.172, allocations: 2.788 MB / 0.766 GB, free: 86.28 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/2.172, allocations: 0 / 0.766 GB, free: 86.28 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/2.172, allocations: 0 / 0.766 GB, free: 86.28 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.929e-05/2.172, allocations: 0 / 0.766 GB, free: 86.28 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.002123/2.174, allocations: 1.538 MB / 0.7675 GB, free: 84.93 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/2.174, allocations: 12.03 kB / 0.7676 GB, free: 84.91 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.128e-05/2.174, allocations: 34.06 kB / 0.7676 GB, free: 84.89 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000186/2.174, allocations: 206.7 kB / 0.7678 GB, free: 84.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004279/2.179, allocations: 1.22 MB / 0.769 GB, free: 83.98 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/2.179, allocations: 222.4 kB / 0.7692 GB, free: 83.78 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.193e-05/2.179, allocations: 77.62 kB / 0.7693 GB, free: 83.73 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/2.179, allocations: 95.31 kB / 0.7694 GB, free: 83.67 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/2.181, allocations: 1.743 MB / 0.7711 GB, free: 82.63 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/2.181, allocations: 2.625 kB / 0.7711 GB, free: 82.63 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.713e-05/2.181, allocations: 41.31 kB / 0.7711 GB, free: 82.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.103e-05/2.181, allocations: 78.23 kB / 0.7712 GB, free: 82.57 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/2.183, allocations: 1.665 MB / 0.7728 GB, free: 81.65 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004762/2.188, allocations: 3.615 MB / 0.7763 GB, free: 79.28 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006622/2.188, allocations: 0.5235 MB / 0.7768 GB, free: 79.01 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005141/2.189, allocations: 0.4994 MB / 0.7773 GB, free: 78.78 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001439/2.19, allocations: 1.34 MB / 0.7786 GB, free: 77.79 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/2.19, allocations: 38.38 kB / 0.7787 GB, free: 77.74 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 1.963e-06/2.19, allocations: 4 kB / 0.7787 GB, free: 77.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.002977/2.193, allocations: 1.53 MB / 0.7802 GB, free: 76.78 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/2.193, allocations: 77.11 kB / 0.7802 GB, free: 76.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/2.193, allocations: 136 kB / 0.7804 GB, free: 76.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/2.193, allocations: 33.64 kB / 0.7804 GB, free: 76.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/2.193, allocations: 401.5 kB / 0.7808 GB, free: 76.15 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/2.194, allocations: 0.6008 MB / 0.7814 GB, free: 75.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/2.194, allocations: 146.5 kB / 0.7815 GB, free: 75.51 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.289e-05/2.194, allocations: 306 kB / 0.7818 GB, free: 75.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/2.194, allocations: 342.5 kB / 0.7821 GB, free: 75.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/2.195, allocations: 0.4924 MB / 0.7826 GB, free: 74.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000887/2.196, allocations: 1.031 MB / 0.7836 GB, free: 74.11 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/2.196, allocations: 0 / 0.7836 GB, free: 74.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001146/2.197, allocations: 1.057 MB / 0.7847 GB, free: 73.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/2.197, allocations: 4 kB / 0.7847 GB, free: 73.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/2.197, allocations: 4 kB / 0.7847 GB, free: 73.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/2.197, allocations: 8.406 kB / 0.7847 GB, free: 73.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/2.197, allocations: 30.61 kB / 0.7847 GB, free: 73.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/2.197, allocations: 11.19 kB / 0.7847 GB, free: 73.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/2.197, allocations: 83.14 kB / 0.7848 GB, free: 72.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-05/2.197, allocations: 24 kB / 0.7848 GB, free: 72.96 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.0002857/2.197, allocations: 219.1 kB / 0.785 GB, free: 72.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/2.198, allocations: 55.58 kB / 0.7851 GB, free: 72.69 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.197e-05/2.198, allocations: 35.88 kB / 0.7851 GB, free: 72.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/2.198, allocations: 4 kB / 0.7851 GB, free: 72.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/2.198, allocations: 7.547 kB / 0.7851 GB, free: 72.65 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/2.198, allocations: 8 kB / 0.7851 GB, free: 72.64 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009416/2.199, allocations: 0.9321 MB / 0.786 GB, free: 71.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/2.199, allocations: 0 / 0.786 GB, free: 71.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/2.199, allocations: 6.25 kB / 0.786 GB, free: 71.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/2.199, allocations: 4 kB / 0.7861 GB, free: 71.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/2.199, allocations: 12 kB / 0.7861 GB, free: 71.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/2.199, allocations: 4 kB / 0.7861 GB, free: 71.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/2.199, allocations: 0 / 0.7861 GB, free: 71.64 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/2.2, allocations: 1.203 MB / 0.7872 GB, free: 70.44 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.573e-05/2.2, allocations: 79.14 kB / 0.7873 GB, free: 70.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/2.2, allocations: 8 kB / 0.7873 GB, free: 70.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/2.2, allocations: 8 kB / 0.7873 GB, free: 70.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/2.2, allocations: 19.98 kB / 0.7874 GB, free: 70.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/2.2, allocations: 12 kB / 0.7874 GB, free: 70.31 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.518e-05/2.2, allocations: 99.31 kB / 0.7875 GB, free: 70.21 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/2.2, allocations: 0 / 0.7875 GB, free: 70.21 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008879/2.201, allocations: 386.9 kB / 0.7878 GB, free: 69.84 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.002069/2.203, allocations: 2.192 MB / 0.79 GB, free: 67.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001249/2.205, allocations: 1.57 MB / 0.7915 GB, free: 66.01 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/2.205, allocations: 0 / 0.7915 GB, free: 66.01 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007976/2.205, allocations: 1.649 MB / 0.7931 GB, free: 63.99 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/2.207, allocations: 477.5 kB / 0.7936 GB, free: 63.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/2.21, allocations: 2.402 MB / 0.7959 GB, free: 61.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006698/2.211, allocations: 0.7115 MB / 0.7966 GB, free: 60.33 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006261/2.212, allocations: 173.6 kB / 0.7968 GB, free: 60.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005174/2.212, allocations: 0.6243 MB / 0.7974 GB, free: 59.53 MB / 0.5294 GB Notification: Performance of SimCode: time 4.1e-07/2.212, allocations: 0 / 0.7974 GB, free: 59.53 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07146/2.284, allocations: 45.21 MB / 0.8415 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/17.07, allocations: 15.88 kB / 0.8415 GB, free: 14.64 MB / 0.5294 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSatSubcritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.47317520598881] Failed to read output from testmodel.py, exit status != 0: 17.491561640053988 17.50303876 15.328680286 Calling exit ...