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.001704/0.001704, 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.002395/0.002395, allocations: 211.7 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.506/1.506, allocations: 230.6 MB / 256 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.01263/0.01263, 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.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.002093/0.002093, allocations: 63.91 kB / 438.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1025, allocations: 54.19 MB / 492.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.02227/0.1247, allocations: 17.34 MB / 0.4982 GB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005624/0.1304, allocations: 5.27 MB / 0.5034 GB, free: 304 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.1306, allocations: 4 kB / 0.5034 GB, free: 300 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006618/0.1312, allocations: 202.7 kB / 0.5036 GB, free: 96 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2293/0.3605, allocations: 1.168 MB / 0.5047 GB, free: 4.441 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.3609, allocations: 86.27 kB / 0.5048 GB, free: 4.441 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004579/0.3614, allocations: 304.1 kB / 0.5051 GB, free: 4.441 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.628e-05/0.3614, allocations: 12.61 kB / 0.5051 GB, free: 4.441 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.3616, allocations: 102.8 kB / 0.5052 GB, free: 4.441 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.3617, allocations: 104.4 kB / 0.5053 GB, free: 4.441 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.3618, allocations: 7.969 kB / 0.5053 GB, free: 4.441 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3395/0.7013, allocations: 38.67 MB / 0.543 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.7014, allocations: 32.62 kB / 0.5431 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004166/0.7018, allocations: 105.1 kB / 0.5432 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003077/0.7049, allocations: 0.5091 MB / 0.5437 GB, free: 1.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.7049, allocations: 0 / 0.5437 GB, free: 1.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.7049, allocations: 0 / 0.5437 GB, free: 1.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.7049, allocations: 4 kB / 0.5437 GB, free: 1.688 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.0009328/0.7058, allocations: 0.4933 MB / 0.5442 GB, free: 1.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.7059, allocations: 8.031 kB / 0.5442 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.681e-05/0.706, allocations: 68.02 kB / 0.5442 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008919/0.7069, allocations: 218.3 kB / 0.5444 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.7071, allocations: 127.5 kB / 0.5446 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.7071, allocations: 24.19 kB / 0.5446 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.7071, allocations: 27.94 kB / 0.5446 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.7077, allocations: 336.4 kB / 0.5449 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.7077, allocations: 3.188 kB / 0.5449 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.7077, allocations: 10.69 kB / 0.545 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.7078, allocations: 14.66 kB / 0.545 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/0.7082, allocations: 276.8 kB / 0.5452 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.7095, allocations: 0.8452 MB / 0.5461 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.7097, allocations: 93.97 kB / 0.5461 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.879e-05/0.7098, allocations: 72.03 kB / 0.5462 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007417/0.7105, allocations: 0.5119 MB / 0.5467 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.7106, allocations: 40.69 kB / 0.5468 GB, free: 15.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.533e-06/0.7106, allocations: 0 / 0.5468 GB, free: 15.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004256/0.711, allocations: 187.1 kB / 0.5469 GB, free: 15.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.7111, allocations: 77.11 kB / 0.547 GB, free: 15.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.7112, allocations: 111.2 kB / 0.5471 GB, free: 15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.7112, allocations: 29.64 kB / 0.5471 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.7113, allocations: 165.3 kB / 0.5473 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.261e-05/0.7114, allocations: 108.7 kB / 0.5474 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.41e-05/0.7115, allocations: 35.8 kB / 0.5474 GB, free: 14.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.7116, allocations: 328.1 kB / 0.5477 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.211e-05/0.7117, allocations: 39.69 kB / 0.5478 GB, free: 14.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.771e-05/0.7118, allocations: 76.53 kB / 0.5479 GB, free: 14.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.712, allocations: 138.6 kB / 0.548 GB, free: 14.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.712, allocations: 0 / 0.548 GB, free: 14.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002576/0.7123, allocations: 158.7 kB / 0.5481 GB, free: 14.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.7123, allocations: 7.906 kB / 0.5481 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.7123, allocations: 4.188 kB / 0.5482 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.7123, allocations: 4 kB / 0.5482 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.4e-05/0.7124, allocations: 11 kB / 0.5482 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.7124, allocations: 7.047 kB / 0.5482 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.7125, allocations: 26.84 kB / 0.5482 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.7125, allocations: 4 kB / 0.5482 GB, free: 14.04 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.0001428/0.7126, allocations: 129.6 kB / 0.5483 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.7127, allocations: 11.91 kB / 0.5483 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.7127, allocations: 15.03 kB / 0.5484 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.7127, allocations: 0 / 0.5484 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.7127, allocations: 4 kB / 0.5484 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7127, allocations: 2.719 kB / 0.5484 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.7131, allocations: 243.5 kB / 0.5486 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7131, allocations: 0 / 0.5486 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.7131, allocations: 6.484 kB / 0.5486 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.7131, allocations: 0 / 0.5486 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.7131, allocations: 4 kB / 0.5486 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.7131, allocations: 0 / 0.5486 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7131, allocations: 0 / 0.5486 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.7152, allocations: 319.7 kB / 0.5489 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.7152, allocations: 11.89 kB / 0.5489 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.7152, allocations: 8 kB / 0.5489 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.7153, allocations: 3.438 kB / 0.5489 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.7154, allocations: 4 kB / 0.5489 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.7154, allocations: 0 / 0.5489 GB, free: 13.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.301e-05/0.7154, allocations: 86.22 kB / 0.549 GB, free: 13.28 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7154, allocations: 3.938 kB / 0.549 GB, free: 13.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004638/0.7159, allocations: 88.59 kB / 0.5491 GB, free: 13.2 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.00105/0.7169, allocations: 0.9411 MB / 0.55 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003395/0.7173, allocations: 210.3 kB / 0.5502 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7173, allocations: 0 / 0.5502 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.7175, allocations: 180.4 kB / 0.5504 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007335/0.7182, allocations: 89.47 kB / 0.5505 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.7204, allocations: 0.5983 MB / 0.5511 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.7207, allocations: 199 kB / 0.5513 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.7208, allocations: 25.12 kB / 0.5513 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.7209, allocations: 119.3 kB / 0.5514 GB, free: 11.01 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.7209, allocations: 0 / 0.5514 GB, free: 11.01 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03988/0.7608, allocations: 8.892 MB / 0.5601 GB, free: 2.223 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.04, allocations: 0 / 0.5601 GB, free: 2.223 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 & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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: 15.122876490931958] Failed to read output from testmodel.py, exit status != 0: 12.363362926989794 12.380934422 11.672607691 Calling exit ...