Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.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.001325/0.001325, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001445/0.001445, allocations: 218.8 kB / 22.25 MB, free: 5.117 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.992 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.0145/0.0145, allocations: 2.791 MB / 315.2 MB, free: 308 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.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical",fmuType="me",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.002135/0.002135, allocations: 63.91 kB / 438.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09466/0.0968, allocations: 54.18 MB / 492.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.02318/0.12, allocations: 19.4 MB / 0.5003 GB, free: 3.867 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2604/0.3803, allocations: 6.084 MB / 0.5062 GB, free: 4.086 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002795/0.3806, allocations: 1.562 kB / 0.5062 GB, free: 4.086 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008398/0.3814, allocations: 259.8 kB / 0.5065 GB, free: 4.086 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004207/0.3857, allocations: 1.208 MB / 0.5076 GB, free: 4.062 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.3861, allocations: 82.86 kB / 0.5077 GB, free: 4.062 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006415/0.3867, allocations: 308.4 kB / 0.508 GB, free: 4.062 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.181e-05/0.3868, allocations: 19.77 kB / 0.508 GB, free: 4.059 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.3869, allocations: 92.02 kB / 0.5081 GB, free: 4.059 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.3871, allocations: 114.1 kB / 0.5082 GB, free: 4.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.3872, allocations: 7.094 kB / 0.5082 GB, free: 4.055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3436/0.7308, allocations: 38.67 MB / 0.546 GB, free: 492 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.642e-05/0.7309, allocations: 40.02 kB / 0.5461 GB, free: 472 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003958/0.7313, allocations: 134.5 kB / 0.5462 GB, free: 368 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002774/0.734, allocations: 0.5093 MB / 0.5467 GB, free: 56 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.734, allocations: 3.75 kB / 0.5467 GB, free: 56 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.734, allocations: 0 / 0.5467 GB, free: 56 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.7341, allocations: 0 / 0.5467 GB, free: 56 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0008034/0.7349, allocations: 0.4938 MB / 0.5472 GB, free: 15.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.7349, allocations: 12.03 kB / 0.5472 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.009e-05/0.735, allocations: 66.66 kB / 0.5472 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008212/0.7358, allocations: 211.2 kB / 0.5474 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.7359, allocations: 135 kB / 0.5476 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.736, allocations: 15.19 kB / 0.5476 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.736, allocations: 26.44 kB / 0.5476 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004843/0.7365, allocations: 340.5 kB / 0.5479 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.7365, allocations: 0 / 0.5479 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.7365, allocations: 6.875 kB / 0.5479 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.7365, allocations: 19.47 kB / 0.548 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/0.7369, allocations: 283 kB / 0.5482 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.7391, allocations: 2.081 MB / 0.5503 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.7393, allocations: 97.58 kB / 0.5504 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.7394, allocations: 76.92 kB / 0.5504 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006234/0.74, allocations: 0.5152 MB / 0.5509 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.74, allocations: 32.81 kB / 0.551 GB, free: 11.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.293e-06/0.74, allocations: 0 / 0.551 GB, free: 11.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003762/0.7404, allocations: 182 kB / 0.5511 GB, free: 11.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.7405, allocations: 81.11 kB / 0.5512 GB, free: 11.65 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.88e-05/0.7406, allocations: 105.6 kB / 0.5513 GB, free: 11.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.7406, allocations: 29.27 kB / 0.5513 GB, free: 11.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.7407, allocations: 165 kB / 0.5515 GB, free: 11.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.35e-05/0.7408, allocations: 107.8 kB / 0.5516 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.987e-05/0.7409, allocations: 37.66 kB / 0.5516 GB, free: 11.22 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.7411, allocations: 329.1 kB / 0.5519 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.536e-05/0.7411, allocations: 35.67 kB / 0.552 GB, free: 10.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.7412, allocations: 79.08 kB / 0.5521 GB, free: 10.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/0.7433, allocations: 140.3 kB / 0.5522 GB, free: 10.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.7433, allocations: 0 / 0.5522 GB, free: 10.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003537/0.7436, allocations: 159.7 kB / 0.5523 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.7436, allocations: 11.94 kB / 0.5524 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.7437, allocations: 192 / 0.5524 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.7437, allocations: 4 kB / 0.5524 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-05/0.7438, allocations: 11.98 kB / 0.5524 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.7438, allocations: 3.938 kB / 0.5524 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.822e-05/0.7439, allocations: 27.7 kB / 0.5524 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.7439, allocations: 8 kB / 0.5524 GB, free: 10.51 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001723/0.744, allocations: 128.9 kB / 0.5525 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.7441, allocations: 11.98 kB / 0.5525 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.004e-05/0.7442, allocations: 10.59 kB / 0.5526 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.7442, allocations: 4 kB / 0.5526 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.7442, allocations: 0 / 0.5526 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.7442, allocations: 3.984 kB / 0.5526 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004556/0.7446, allocations: 254.9 kB / 0.5528 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.7446, allocations: 3.984 kB / 0.5528 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.7447, allocations: 8 kB / 0.5528 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.7447, allocations: 0 / 0.5528 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.7447, allocations: 0 / 0.5528 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.7447, allocations: 4 kB / 0.5528 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.7447, allocations: 7.938 kB / 0.5528 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/0.7468, allocations: 312.2 kB / 0.5531 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.88e-05/0.7469, allocations: 15.84 kB / 0.5531 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.7469, allocations: 3.625 kB / 0.5531 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.747, allocations: 0 / 0.5531 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.747, allocations: 7.984 kB / 0.5532 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.747, allocations: 8 kB / 0.5532 GB, free: 9.773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.721e-05/0.7471, allocations: 79.22 kB / 0.5532 GB, free: 9.695 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7471, allocations: 0 / 0.5532 GB, free: 9.695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004783/0.7476, allocations: 95.03 kB / 0.5533 GB, free: 9.605 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009664/0.7485, allocations: 0.9308 MB / 0.5542 GB, free: 8.703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003555/0.7489, allocations: 213.8 kB / 0.5544 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7489, allocations: 0 / 0.5544 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.7491, allocations: 181.3 kB / 0.5546 GB, free: 8.305 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007524/0.7498, allocations: 88.16 kB / 0.5547 GB, free: 8.219 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.751, allocations: 0.5865 MB / 0.5553 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.7516, allocations: 0.7956 MB / 0.556 GB, free: 6.766 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.7517, allocations: 33.11 kB / 0.5561 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.7519, allocations: 111.4 kB / 0.5562 GB, free: 6.629 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.7519, allocations: 0 / 0.5562 GB, free: 6.629 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04172/0.7936, allocations: 8.736 MB / 0.5647 GB, free: 13.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.44, allocations: 15.86 kB / 0.5647 GB, free: 13.96 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.953145896084607] Failed to read output from testmodel.py, exit status != 0: 12.771487106801942 12.791588592 12.053970785 Calling exit ...