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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 103.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002149/0.002149, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.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.02381/0.02381, allocations: 2.794 MB / 305.5 MB, free: 3.332 MB / 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.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.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: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 59.91 kB / 425 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3052, allocations: 52.96 MB / 478 MB, free: 26.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.01626/0.3215, allocations: 19.22 MB / 497.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004754/0.3262, allocations: 6.098 MB / 0.4915 GB, free: 7.918 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002869/0.3265, allocations: 1.062 kB / 0.4915 GB, free: 7.918 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007788/0.3273, allocations: 251.8 kB / 0.4917 GB, free: 7.785 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003886/0.3312, allocations: 1.211 MB / 0.4929 GB, free: 7.047 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.3315, allocations: 87.64 kB / 0.493 GB, free: 6.992 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.3319, allocations: 302.7 kB / 0.4933 GB, free: 6.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.257e-05/0.332, allocations: 16.19 kB / 0.4933 GB, free: 6.824 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.3321, allocations: 99.92 kB / 0.4934 GB, free: 6.781 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.3323, allocations: 109.9 kB / 0.4935 GB, free: 6.734 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.3323, allocations: 7.656 kB / 0.4935 GB, free: 6.734 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.333/0.6653, allocations: 38.62 MB / 0.5312 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.568e-05/0.6654, allocations: 39.72 kB / 0.5313 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003886/0.6658, allocations: 123.4 kB / 0.5314 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003318/0.6691, allocations: 0.5099 MB / 0.5319 GB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.6691, allocations: 0 / 0.5319 GB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6691, allocations: 3.938 kB / 0.5319 GB, free: 11.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.6692, allocations: 0 / 0.5319 GB, free: 11.69 MB / 398.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.0009142/0.6701, allocations: 0.5687 MB / 0.5324 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.348e-05/0.6701, allocations: 12.03 kB / 0.5324 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.476e-05/0.6702, allocations: 62.72 kB / 0.5325 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009004/0.6711, allocations: 216.5 kB / 0.5327 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.6713, allocations: 188.1 kB / 0.5329 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.6714, allocations: 20.69 kB / 0.5329 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.6714, allocations: 24 kB / 0.5329 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.6719, allocations: 341.6 kB / 0.5333 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.672, allocations: 0 / 0.5333 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.672, allocations: 4 kB / 0.5333 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.672, allocations: 15.98 kB / 0.5333 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.6724, allocations: 263.9 kB / 0.5335 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/0.6747, allocations: 2.119 MB / 0.5356 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.675, allocations: 101.1 kB / 0.5357 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.6751, allocations: 74.06 kB / 0.5358 GB, free: 7.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009035/0.676, allocations: 0.6964 MB / 0.5364 GB, free: 6.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.676, allocations: 38.5 kB / 0.5365 GB, free: 6.422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.823e-06/0.676, allocations: 0 / 0.5365 GB, free: 6.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004459/0.6765, allocations: 189.4 kB / 0.5367 GB, free: 6.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.586e-05/0.6765, allocations: 77.11 kB / 0.5367 GB, free: 6.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.6767, allocations: 109.8 kB / 0.5368 GB, free: 6.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.6767, allocations: 25.7 kB / 0.5369 GB, free: 5.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.6768, allocations: 160.5 kB / 0.537 GB, free: 5.828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.6769, allocations: 115 kB / 0.5371 GB, free: 5.715 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-05/0.677, allocations: 37.7 kB / 0.5372 GB, free: 5.672 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.6772, allocations: 322.8 kB / 0.5375 GB, free: 5.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.426e-05/0.6773, allocations: 32 kB / 0.5375 GB, free: 5.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.6774, allocations: 88.84 kB / 0.5376 GB, free: 5.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.6776, allocations: 154.4 kB / 0.5377 GB, free: 5.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.6776, allocations: 3.938 kB / 0.5377 GB, free: 5.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002826/0.6779, allocations: 157.5 kB / 0.5379 GB, free: 4.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.6779, allocations: 12.03 kB / 0.5379 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.6779, allocations: 0 / 0.5379 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.6779, allocations: 4 kB / 0.5379 GB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.309e-05/0.678, allocations: 8 kB / 0.5379 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.678, allocations: 3.984 kB / 0.5379 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.809e-05/0.6781, allocations: 23.72 kB / 0.5379 GB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.6781, allocations: 8 kB / 0.5379 GB, free: 4.82 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.0001563/0.6783, allocations: 130.7 kB / 0.5381 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.6783, allocations: 7.953 kB / 0.5381 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.6784, allocations: 12.44 kB / 0.5381 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.6784, allocations: 4 kB / 0.5381 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6784, allocations: 0 / 0.5381 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.6784, allocations: 3.938 kB / 0.5381 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.6788, allocations: 273.4 kB / 0.5384 GB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.6788, allocations: 0 / 0.5384 GB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.52e-05/0.6788, allocations: 4 kB / 0.5384 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6788, allocations: 0 / 0.5384 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.6789, allocations: 7.984 kB / 0.5384 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.6789, allocations: 4 kB / 0.5384 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.6789, allocations: 8 kB / 0.5384 GB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/0.6811, allocations: 315.1 kB / 0.5387 GB, free: 3.992 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.542e-05/0.6812, allocations: 96.89 kB / 0.5388 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.6812, allocations: 0 / 0.5388 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.6814, allocations: 4 kB / 0.5388 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.6814, allocations: 11.92 kB / 0.5388 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.6814, allocations: 4 kB / 0.5388 GB, free: 3.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.965e-05/0.6815, allocations: 83.5 kB / 0.5389 GB, free: 3.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6815, allocations: 0 / 0.5389 GB, free: 3.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005373/0.682, allocations: 83.78 kB / 0.5389 GB, free: 3.695 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.001104/0.6831, allocations: 0.9359 MB / 0.5399 GB, free: 2.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004107/0.6835, allocations: 200 kB / 0.5401 GB, free: 2.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.6835, allocations: 0 / 0.5401 GB, free: 2.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.6837, allocations: 177.6 kB / 0.5402 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008291/0.6845, allocations: 100.2 kB / 0.5403 GB, free: 2.234 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.6858, allocations: 0.579 MB / 0.5409 GB, free: 1.609 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.6863, allocations: 0.8033 MB / 0.5417 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.6865, allocations: 25.2 kB / 0.5417 GB, free: 0.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.6866, allocations: 115.4 kB / 0.5418 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of SimCode: time 8.11e-07/0.6866, allocations: 0 / 0.5418 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03683/0.7234, allocations: 8.113 MB / 0.5497 GB, free: 8.559 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.897/9.62, allocations: 4 kB / 0.5497 GB, free: 8.555 MB / 414.1 MB " [Timeout remaining time 650] (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: 13.257967016194016] Failed to read output from testmodel.py, exit status != 0: 9.91710580419749 9.939430452 9.266127564 Calling exit ...