Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.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.001774/0.001774, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002273/0.002273, allocations: 216.6 kB / 22.25 MB, free: 4.855 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.777 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.02137/0.02137, allocations: 2.81 MB / 315.2 MB, free: 68 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.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical",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.002015/0.002015, allocations: 63.91 kB / 438.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09446/0.09648, allocations: 54.18 MB / 492.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.01987/0.1163, allocations: 17.35 MB / 0.4982 GB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005386/0.1217, allocations: 5.271 MB / 0.5034 GB, free: 292 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.1219, allocations: 3.938 kB / 0.5034 GB, free: 288 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006053/0.1225, allocations: 210.7 kB / 0.5036 GB, free: 76 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1927/0.3152, allocations: 1.161 MB / 0.5047 GB, free: 4.453 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.3154, allocations: 87.84 kB / 0.5048 GB, free: 4.449 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.3158, allocations: 307.2 kB / 0.5051 GB, free: 4.449 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.169e-05/0.3158, allocations: 13.55 kB / 0.5051 GB, free: 4.449 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.3159, allocations: 99.17 kB / 0.5052 GB, free: 4.449 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.3161, allocations: 103.3 kB / 0.5053 GB, free: 4.449 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.3161, allocations: 8.312 kB / 0.5053 GB, free: 4.449 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3362/0.6523, allocations: 38.66 MB / 0.543 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.635e-05/0.6524, allocations: 28.83 kB / 0.5431 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.6527, allocations: 109.5 kB / 0.5432 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.6545, allocations: 0.5105 MB / 0.5437 GB, free: 1.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.6545, allocations: 4 kB / 0.5437 GB, free: 1.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6545, allocations: 0 / 0.5437 GB, free: 1.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.6545, allocations: 4 kB / 0.5437 GB, free: 1.703 MB / 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.0006434/0.6551, allocations: 0.4946 MB / 0.5442 GB, free: 1.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.6552, allocations: 8.031 kB / 0.5442 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.912e-05/0.6553, allocations: 72.17 kB / 0.5442 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007417/0.656, allocations: 204 kB / 0.5444 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.6561, allocations: 131.1 kB / 0.5446 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.6561, allocations: 19.62 kB / 0.5446 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.6562, allocations: 28.19 kB / 0.5446 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.6566, allocations: 334.5 kB / 0.5449 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.6566, allocations: 3.047 kB / 0.5449 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.6567, allocations: 20.53 kB / 0.545 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.6567, allocations: 14.98 kB / 0.545 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/0.657, allocations: 277.5 kB / 0.5452 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.6589, allocations: 0.8419 MB / 0.5461 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.659, allocations: 101.4 kB / 0.5461 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.6591, allocations: 72.3 kB / 0.5462 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006122/0.6597, allocations: 0.5034 MB / 0.5467 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.6597, allocations: 34.56 kB / 0.5467 GB, free: 15.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.004e-06/0.6597, allocations: 4 kB / 0.5467 GB, free: 15.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003952/0.6601, allocations: 187.2 kB / 0.5469 GB, free: 15.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.6602, allocations: 79.92 kB / 0.547 GB, free: 15.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.6603, allocations: 110.4 kB / 0.5471 GB, free: 15.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.6603, allocations: 29.77 kB / 0.5471 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.6604, allocations: 164.8 kB / 0.5473 GB, free: 14.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.187e-05/0.6605, allocations: 109 kB / 0.5474 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.6606, allocations: 35.28 kB / 0.5474 GB, free: 14.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.6607, allocations: 327.4 kB / 0.5477 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.676e-05/0.6608, allocations: 40.81 kB / 0.5478 GB, free: 14.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.516e-05/0.6609, allocations: 78.56 kB / 0.5479 GB, free: 14.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.6611, allocations: 131.8 kB / 0.548 GB, free: 14.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6611, allocations: 4 kB / 0.548 GB, free: 14.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002315/0.6613, allocations: 162.1 kB / 0.5481 GB, free: 14.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.6613, allocations: 7.906 kB / 0.5481 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6614, allocations: 0 / 0.5481 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.6614, allocations: 7 kB / 0.5482 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.339e-05/0.6614, allocations: 11.88 kB / 0.5482 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.6614, allocations: 7.656 kB / 0.5482 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.223e-05/0.6615, allocations: 19.78 kB / 0.5482 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.6615, allocations: 4.188 kB / 0.5482 GB, free: 14.07 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.0001175/0.6617, allocations: 136.1 kB / 0.5483 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.6617, allocations: 11.91 kB / 0.5483 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.6617, allocations: 12.34 kB / 0.5483 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.6617, allocations: 0 / 0.5483 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.6617, allocations: 0 / 0.5483 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.6617, allocations: 0 / 0.5483 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.6621, allocations: 245.7 kB / 0.5486 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6621, allocations: 0 / 0.5486 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/0.6621, allocations: 4 kB / 0.5486 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.6621, allocations: 0 / 0.5486 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.6621, allocations: 10.94 kB / 0.5486 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6621, allocations: 0 / 0.5486 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.6621, allocations: 3.844 kB / 0.5486 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.6635, allocations: 312 kB / 0.5489 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.6635, allocations: 18.88 kB / 0.5489 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.6635, allocations: 7.812 kB / 0.5489 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.6636, allocations: 3.938 kB / 0.5489 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.6636, allocations: 4 kB / 0.5489 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.6636, allocations: 0 / 0.5489 GB, free: 13.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.338e-05/0.6637, allocations: 85.98 kB / 0.549 GB, free: 13.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6637, allocations: 0 / 0.549 GB, free: 13.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004472/0.6641, allocations: 91.47 kB / 0.5491 GB, free: 13.22 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.0009716/0.6651, allocations: 0.9376 MB / 0.55 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003108/0.6654, allocations: 215.7 kB / 0.5502 GB, free: 12.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6654, allocations: 0 / 0.5502 GB, free: 12.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.6656, allocations: 184.8 kB / 0.5504 GB, free: 11.99 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006826/0.6663, allocations: 86.59 kB / 0.5505 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.6674, allocations: 0.5864 MB / 0.5511 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.6676, allocations: 199 kB / 0.5512 GB, free: 11.1 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.6677, allocations: 29.11 kB / 0.5513 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.6678, allocations: 115.9 kB / 0.5514 GB, free: 11.04 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6678, allocations: 0 / 0.5514 GB, free: 11.04 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03817/0.706, allocations: 8.888 MB / 0.5601 GB, free: 2.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.75, allocations: 11.78 kB / 0.5601 GB, free: 2.25 MB / 398.1 MB " [Timeout remaining time 648] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.83539360202849] Failed to read output from testmodel.py, exit status != 0: 12.098598559387028 12.116628115 11.458720972 Calling exit ...