Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.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.001317/0.001317, allocations: 103.6 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.001798/0.001798, allocations: 187.7 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.519/1.519, allocations: 225.6 MB / 247.8 MB, free: 3.75 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.01242/0.01242, allocations: 2.79 MB / 305.5 MB, free: 3.387 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.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesTranscritical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.91 kB / 425 MB, free: 4.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2696, allocations: 52.96 MB / 478 MB, free: 26.46 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.04398/0.3136, allocations: 50.94 MB / 0.5165 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03211/0.3457, allocations: 29.16 MB / 0.545 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007555/0.3464, allocations: 4 kB / 0.545 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002418/0.3488, allocations: 0.6136 MB / 0.5456 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009598/0.3584, allocations: 2.242 MB / 0.5478 GB, free: 10.26 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.01042/0.3688, allocations: 2.93 MB / 0.5506 GB, free: 7.312 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001781/0.3706, allocations: 0.9285 MB / 0.5516 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3707, allocations: 33.77 kB / 0.5516 GB, free: 6.344 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.4554/0.8262, allocations: 51.27 MB / 0.6017 GB, free: 3.938 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008022/0.827, allocations: 310.6 kB / 0.602 GB, free: 3.633 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.8271, allocations: 40 kB / 0.602 GB, free: 3.594 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.478/1.305, allocations: 27.03 MB / 0.6284 GB, free: 53.2 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002441/1.305, allocations: 110.3 kB / 0.6285 GB, free: 53.2 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000797/1.306, allocations: 335.7 kB / 0.6288 GB, free: 53.2 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008217/1.314, allocations: 1.862 MB / 0.6306 GB, free: 53.11 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.314, allocations: 1.344 kB / 0.6306 GB, free: 53.11 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.124e-06/1.314, allocations: 0.8438 kB / 0.6306 GB, free: 53.11 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.563e-05/1.314, allocations: 0 / 0.6306 GB, free: 53.11 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00227/1.317, allocations: 1.126 MB / 0.6317 GB, free: 52.45 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/1.317, allocations: 10.72 kB / 0.6317 GB, free: 52.45 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/1.317, allocations: 124.3 kB / 0.6319 GB, free: 52.4 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/1.319, allocations: 0.5011 MB / 0.6324 GB, free: 52.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/1.322, allocations: 338.5 kB / 0.6327 GB, free: 52.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.719e-05/1.322, allocations: 43.39 kB / 0.6327 GB, free: 52.14 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/1.322, allocations: 60.66 kB / 0.6328 GB, free: 52.14 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/1.324, allocations: 0.8706 MB / 0.6336 GB, free: 51.97 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/1.324, allocations: 0 / 0.6336 GB, free: 51.97 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.018e-05/1.324, allocations: 24.05 kB / 0.6337 GB, free: 51.97 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.623e-05/1.324, allocations: 34.2 kB / 0.6337 GB, free: 51.97 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/1.325, allocations: 0.7072 MB / 0.6344 GB, free: 51.96 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004096/1.329, allocations: 4.951 MB / 0.6392 GB, free: 47.89 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007958/1.33, allocations: 288 kB / 0.6395 GB, free: 47.83 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/1.331, allocations: 159.4 kB / 0.6396 GB, free: 47.81 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001481/1.332, allocations: 1.551 MB / 0.6412 GB, free: 46.6 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/1.332, allocations: 31.84 kB / 0.6412 GB, free: 46.56 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 2.063e-06/1.332, allocations: 1.125 kB / 0.6412 GB, free: 46.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.001916/1.334, allocations: 0.6364 MB / 0.6418 GB, free: 46.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/1.334, allocations: 79.77 kB / 0.6419 GB, free: 46.39 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/1.334, allocations: 175.3 kB / 0.642 GB, free: 46.28 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/1.334, allocations: 30.08 kB / 0.6421 GB, free: 46.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/1.334, allocations: 284.3 kB / 0.6423 GB, free: 46.04 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/1.335, allocations: 248 kB / 0.6426 GB, free: 45.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/1.335, allocations: 101.2 kB / 0.6427 GB, free: 45.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.351e-05/1.335, allocations: 339.4 kB / 0.643 GB, free: 45.53 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/1.335, allocations: 124 kB / 0.6431 GB, free: 45.53 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/1.335, allocations: 286.8 kB / 0.6434 GB, free: 45.35 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007119/1.336, allocations: 477.6 kB / 0.6439 GB, free: 45.15 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/1.336, allocations: 1.25 kB / 0.6439 GB, free: 45.15 MB / 462.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001078/1.337, allocations: 478.9 kB / 0.6443 GB, free: 45.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/1.337, allocations: 11.88 kB / 0.6443 GB, free: 45.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/1.337, allocations: 9.75 kB / 0.6443 GB, free: 45.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.786e-05/1.337, allocations: 6.375 kB / 0.6443 GB, free: 45.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/1.338, allocations: 69.42 kB / 0.6444 GB, free: 45.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.97e-05/1.338, allocations: 12.88 kB / 0.6444 GB, free: 45.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/1.338, allocations: 60.72 kB / 0.6445 GB, free: 45.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.589e-05/1.338, allocations: 19.66 kB / 0.6445 GB, free: 45.04 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003405/1.338, allocations: 190.7 kB / 0.6447 GB, free: 44.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/1.339, allocations: 35.58 kB / 0.6447 GB, free: 44.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.42e-05/1.339, allocations: 36.08 kB / 0.6447 GB, free: 44.89 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/1.339, allocations: 2.344 kB / 0.6447 GB, free: 44.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.339, allocations: 1.125 kB / 0.6447 GB, free: 44.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/1.339, allocations: 2.578 kB / 0.6447 GB, free: 44.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007103/1.339, allocations: 0.4989 MB / 0.6452 GB, free: 44.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/1.339, allocations: 5.031 kB / 0.6452 GB, free: 44.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/1.34, allocations: 31.11 kB / 0.6453 GB, free: 44.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/1.34, allocations: 8.312 kB / 0.6453 GB, free: 44.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/1.34, allocations: 9.5 kB / 0.6453 GB, free: 44.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.34, allocations: 7.578 kB / 0.6453 GB, free: 44.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.34, allocations: 0.9688 kB / 0.6453 GB, free: 44.65 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007427/1.34, allocations: 0.5241 MB / 0.6458 GB, free: 44.42 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/1.34, allocations: 116.4 kB / 0.6459 GB, free: 44.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/1.34, allocations: 10.12 kB / 0.6459 GB, free: 44.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/1.341, allocations: 12.56 kB / 0.6459 GB, free: 44.29 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.326e-05/1.341, allocations: 22.33 kB / 0.646 GB, free: 44.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/1.341, allocations: 12.16 kB / 0.646 GB, free: 44.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.954e-05/1.341, allocations: 117.6 kB / 0.6461 GB, free: 44.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/1.341, allocations: 0 / 0.6461 GB, free: 44.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008382/1.342, allocations: 193.9 kB / 0.6463 GB, free: 44.18 MB / 462.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: 4 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001457/1.343, allocations: 1.264 MB / 0.6475 GB, free: 43.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001918/1.345, allocations: 0.5687 MB / 0.6481 GB, free: 43.13 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.345, allocations: 0 / 0.6481 GB, free: 43.13 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005962/1.346, allocations: 469.9 kB / 0.6485 GB, free: 42.81 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/1.347, allocations: 193.1 kB / 0.6487 GB, free: 42.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/1.352, allocations: 3.629 MB / 0.6522 GB, free: 40.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/1.352, allocations: 0.9488 MB / 0.6532 GB, free: 39.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004971/1.353, allocations: 264 kB / 0.6534 GB, free: 38.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/1.353, allocations: 273.5 kB / 0.6537 GB, free: 38.84 MB / 462.1 MB Notification: Performance of SimCode: time 7.51e-07/1.353, allocations: 0 / 0.6537 GB, free: 38.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04296/1.396, allocations: 18.57 MB / 0.6718 GB, free: 20.38 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.522/10.92, allocations: 0 / 0.6718 GB, free: 20.38 MB / 462.1 MB " [Timeout remaining time 649] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesTranscritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.129683661274612] Failed to read output from testmodel.py, exit status != 0: 11.218715176917613 11.228770763 9.911967358 Calling exit ...