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.001369/0.001369, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001896/0.001896, allocations: 212 kB / 22.24 MB, free: 5.262 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.785 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.01332/0.01332, allocations: 2.798 MB / 315.2 MB, free: 88 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.002783/0.002783, allocations: 63.91 kB / 438.6 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1058, allocations: 54.18 MB / 492.8 MB, free: 7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.02007/0.1259, allocations: 17.35 MB / 0.4982 GB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005435/0.1313, allocations: 5.263 MB / 0.5034 GB, free: 312 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.1315, allocations: 0 / 0.5034 GB, free: 312 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005984/0.1321, allocations: 206.6 kB / 0.5036 GB, free: 104 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2074/0.3394, allocations: 1.166 MB / 0.5047 GB, free: 4.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.3397, allocations: 86.5 kB / 0.5048 GB, free: 4.461 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003975/0.3401, allocations: 302.5 kB / 0.5051 GB, free: 4.461 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.475e-05/0.3402, allocations: 13.09 kB / 0.5051 GB, free: 4.461 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.3403, allocations: 99.41 kB / 0.5052 GB, free: 4.461 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.3405, allocations: 107 kB / 0.5053 GB, free: 4.461 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.3405, allocations: 8.25 kB / 0.5053 GB, free: 4.461 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3667/0.7072, allocations: 38.67 MB / 0.5431 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.267e-05/0.7072, allocations: 32.19 kB / 0.5431 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003128/0.7076, allocations: 109.6 kB / 0.5432 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.7094, allocations: 0.5114 MB / 0.5437 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.7094, allocations: 0 / 0.5437 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.7094, allocations: 0 / 0.5437 GB, free: 1.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.7094, allocations: 0 / 0.5437 GB, free: 1.754 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.0007506/0.7101, allocations: 0.4891 MB / 0.5442 GB, free: 1.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.7102, allocations: 12.03 kB / 0.5442 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.714e-05/0.7103, allocations: 71.86 kB / 0.5442 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00075/0.711, allocations: 210.6 kB / 0.5444 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.7112, allocations: 132.7 kB / 0.5446 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.7112, allocations: 14.06 kB / 0.5446 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.7112, allocations: 30.31 kB / 0.5446 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/0.7117, allocations: 341 kB / 0.5449 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.7117, allocations: 0 / 0.5449 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.7117, allocations: 11.19 kB / 0.545 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.7117, allocations: 9.984 kB / 0.545 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003289/0.7121, allocations: 281.8 kB / 0.5452 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.7133, allocations: 0.8509 MB / 0.5461 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.7134, allocations: 96.22 kB / 0.5462 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.814e-05/0.7135, allocations: 73.72 kB / 0.5462 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005834/0.7141, allocations: 0.4985 MB / 0.5467 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.7141, allocations: 45.31 kB / 0.5468 GB, free: 15.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.382e-06/0.7141, allocations: 0 / 0.5468 GB, free: 15.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003651/0.7145, allocations: 184.8 kB / 0.5469 GB, free: 15.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.7146, allocations: 77.11 kB / 0.547 GB, free: 15.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.717e-05/0.7146, allocations: 110.2 kB / 0.5471 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.7147, allocations: 29.7 kB / 0.5471 GB, free: 15.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.7148, allocations: 160.5 kB / 0.5473 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.256e-05/0.7148, allocations: 108.5 kB / 0.5474 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/0.7149, allocations: 36.95 kB / 0.5474 GB, free: 14.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.7151, allocations: 328.6 kB / 0.5477 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.5e-05/0.7151, allocations: 39.95 kB / 0.5478 GB, free: 14.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.641e-05/0.7152, allocations: 79.06 kB / 0.5479 GB, free: 14.37 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.7154, allocations: 144.5 kB / 0.548 GB, free: 14.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7154, allocations: 0 / 0.548 GB, free: 14.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002244/0.7156, allocations: 153 kB / 0.5481 GB, free: 14.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.7156, allocations: 8.188 kB / 0.5481 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.7156, allocations: 4 kB / 0.5481 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.7156, allocations: 7.094 kB / 0.5482 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.254e-05/0.7157, allocations: 12 kB / 0.5482 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.7157, allocations: 2.906 kB / 0.5482 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.742e-05/0.7158, allocations: 19.78 kB / 0.5482 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.7158, allocations: 7.625 kB / 0.5482 GB, free: 14.12 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.0001307/0.7159, allocations: 131.8 kB / 0.5483 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.716, allocations: 14.91 kB / 0.5483 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.109e-05/0.716, allocations: 5.969 kB / 0.5483 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.716, allocations: 7.984 kB / 0.5483 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.716, allocations: 4 kB / 0.5484 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.716, allocations: 0 / 0.5484 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.7164, allocations: 248.3 kB / 0.5486 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.7164, allocations: 0 / 0.5486 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/0.7164, allocations: 6.625 kB / 0.5486 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.7164, allocations: 0 / 0.5486 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.7164, allocations: 1.25 kB / 0.5486 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7164, allocations: 0 / 0.5486 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7164, allocations: 4 kB / 0.5486 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.7178, allocations: 320.7 kB / 0.5489 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.774e-05/0.7178, allocations: 14.89 kB / 0.5489 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.7178, allocations: 7.812 kB / 0.5489 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.7179, allocations: 0 / 0.5489 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.718, allocations: 4 kB / 0.5489 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.718, allocations: 4 kB / 0.5489 GB, free: 13.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.529e-05/0.718, allocations: 85.98 kB / 0.549 GB, free: 13.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.718, allocations: 0 / 0.549 GB, free: 13.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004471/0.7185, allocations: 87.59 kB / 0.5491 GB, free: 13.27 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.000922/0.7194, allocations: 0.9317 MB / 0.55 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000325/0.7197, allocations: 213.3 kB / 0.5502 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.7197, allocations: 0 / 0.5502 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.7199, allocations: 175.4 kB / 0.5504 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007148/0.7206, allocations: 94.16 kB / 0.5505 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.7218, allocations: 0.5985 MB / 0.5511 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.7221, allocations: 191 kB / 0.5512 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.7222, allocations: 29.12 kB / 0.5513 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.7224, allocations: 116.5 kB / 0.5514 GB, free: 11.11 MB / 398.1 MB Notification: Performance of SimCode: time 9.01e-07/0.7224, allocations: 0 / 0.5514 GB, free: 11.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03903/0.7614, allocations: 8.902 MB / 0.5601 GB, free: 2.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.9, allocations: 3.938 kB / 0.5601 GB, free: 2.305 MB / 398.1 MB " [Timeout remaining time 648] (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.271826466079801] Failed to read output from testmodel.py, exit status != 0: 12.235324483830482 12.267625832 11.552391286 Calling exit ...