Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.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.001354/0.001354, allocations: 105.3 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.001328/0.001328, 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.439/1.439, allocations: 225.6 MB / 247.8 MB, free: 3.738 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.01204/0.01204, allocations: 2.798 MB / 305.5 MB, free: 3.352 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.Pentane.Pentane_hs,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 63.89 kB / 425 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.238, allocations: 52.95 MB / 477.9 MB, free: 26.42 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.007937/0.2459, allocations: 8.866 MB / 486.8 MB, free: 19.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005204/0.2511, allocations: 8.48 MB / 495.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.2513, allocations: 0 / 495.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004971/0.2518, allocations: 153.7 kB / 495.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.2521, allocations: 93.09 kB / 495.5 MB, free: 13.55 MB / 366.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.Pentane.Pentane_hs.wf.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.wf.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.003263/0.2554, allocations: 1.432 MB / 497 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.2557, allocations: 247 kB / 497.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.2557, allocations: 8.969 kB / 497.2 MB, free: 12.58 MB / 366.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.1228/0.3785, allocations: 13.73 MB / 0.499 GB, free: 6.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.3787, allocations: 76.5 kB / 0.499 GB, free: 6.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.3787, allocations: 6.5 kB / 0.499 GB, free: 6.098 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002023/0.3807, allocations: 305 kB / 0.4993 GB, free: 6.059 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.445e-05/0.3808, allocations: 26.5 kB / 0.4994 GB, free: 6.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.3809, allocations: 75.47 kB / 0.4994 GB, free: 6.004 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009844/0.3819, allocations: 353.6 kB / 0.4998 GB, free: 5.859 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3819, allocations: 0 / 0.4998 GB, free: 5.859 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3819, allocations: 0 / 0.4998 GB, free: 5.859 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.3819, allocations: 1.375 kB / 0.4998 GB, free: 5.859 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007153/0.3826, allocations: 498.5 kB / 0.5002 GB, free: 5.422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3827, allocations: 9.562 kB / 0.5003 GB, free: 5.422 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.3827, allocations: 57.06 kB / 0.5003 GB, free: 5.367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004377/0.3832, allocations: 97.45 kB / 0.5004 GB, free: 5.332 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.3834, allocations: 197 kB / 0.5006 GB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.3834, allocations: 27.56 kB / 0.5006 GB, free: 5.102 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.3834, allocations: 5.344 kB / 0.5006 GB, free: 5.102 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/0.3838, allocations: 246.1 kB / 0.5009 GB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3838, allocations: 1.062 kB / 0.5009 GB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.3838, allocations: 5.094 kB / 0.5009 GB, free: 4.965 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.3839, allocations: 10.41 kB / 0.5009 GB, free: 4.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003992/0.3843, allocations: 241.1 kB / 0.5011 GB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008666/0.3851, allocations: 0.8592 MB / 0.5019 GB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.3854, allocations: 145.1 kB / 0.5021 GB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.3856, allocations: 124.4 kB / 0.5022 GB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.3856, allocations: 10.58 kB / 0.5022 GB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.3856, allocations: 36.45 kB / 0.5022 GB, free: 3.906 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.403e-06/0.3856, allocations: 0 / 0.5022 GB, free: 3.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007859/0.3864, allocations: 407.6 kB / 0.5026 GB, free: 3.715 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.3864, allocations: 52.5 kB / 0.5027 GB, free: 3.652 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.772e-05/0.3865, allocations: 113.2 kB / 0.5028 GB, free: 3.547 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.3865, allocations: 27.48 kB / 0.5028 GB, free: 3.516 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.3866, allocations: 107 kB / 0.5029 GB, free: 3.414 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.266e-05/0.3867, allocations: 125.3 kB / 0.503 GB, free: 3.312 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/0.3867, allocations: 40.66 kB / 0.5031 GB, free: 3.285 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.284e-05/0.3868, allocations: 323.1 kB / 0.5034 GB, free: 2.969 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.387, allocations: 123.3 kB / 0.5035 GB, free: 2.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.3873, allocations: 172.4 kB / 0.5037 GB, free: 2.801 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.3877, allocations: 201 kB / 0.5039 GB, free: 2.684 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3877, allocations: 1.094 kB / 0.5039 GB, free: 2.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005764/0.3883, allocations: 294.7 kB / 0.5041 GB, free: 2.539 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.3883, allocations: 5.188 kB / 0.5041 GB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.3883, allocations: 1.719 kB / 0.5042 GB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.3883, allocations: 2.625 kB / 0.5042 GB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.3885, allocations: 30.11 kB / 0.5042 GB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.3885, allocations: 3.062 kB / 0.5042 GB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.3886, allocations: 26.59 kB / 0.5042 GB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.3886, allocations: 5.375 kB / 0.5042 GB, free: 2.516 MB / 366.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: 3 (fluid.phaseOutput,fluid.state.phase,fluid.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0001329/0.3888, allocations: 129 kB / 0.5043 GB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.3888, allocations: 14.89 kB / 0.5044 GB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007606/0.3896, allocations: 334 kB / 0.5047 GB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.3896, allocations: 8.266 kB / 0.5047 GB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.3896, allocations: 0 / 0.5047 GB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3896, allocations: 0.6094 kB / 0.5047 GB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/0.39, allocations: 300.6 kB / 0.505 GB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.39, allocations: 6.156 kB / 0.505 GB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.222e-05/0.3901, allocations: 14.64 kB / 0.505 GB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3901, allocations: 5.609 kB / 0.505 GB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.3901, allocations: 1.156 kB / 0.505 GB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.3901, allocations: 9.844 kB / 0.505 GB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.3901, allocations: 0 / 0.505 GB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000676/0.3908, allocations: 429.3 kB / 0.5054 GB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.3908, allocations: 94.17 kB / 0.5055 GB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.3909, allocations: 5.219 kB / 0.5055 GB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.391, allocations: 10.39 kB / 0.5055 GB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-05/0.391, allocations: 9.75 kB / 0.5055 GB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.3911, allocations: 7.516 kB / 0.5055 GB, free: 1.535 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.916e-05/0.3911, allocations: 84.72 kB / 0.5056 GB, free: 1.461 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3911, allocations: 1.688 kB / 0.5056 GB, free: 1.461 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004122/0.3915, allocations: 69.61 kB / 0.5057 GB, free: 1.441 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fluid.state.phase,fluid.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001259/0.3928, allocations: 1.113 MB / 0.5068 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006133/0.3934, allocations: 335.9 kB / 0.5071 GB, free: 388 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3934, allocations: 1.594 kB / 0.5071 GB, free: 388 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.3937, allocations: 201.2 kB / 0.5073 GB, free: 272 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006009/0.3943, allocations: 82.48 kB / 0.5074 GB, free: 244 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/0.3979, allocations: 2.369 MB / 0.5097 GB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.3983, allocations: 0.7479 MB / 0.5104 GB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007064/0.3991, allocations: 31.88 kB / 0.5104 GB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.3992, allocations: 69.73 kB / 0.5105 GB, free: 13.71 MB / 382.1 MB Notification: Performance of SimCode: time 9.51e-07/0.3992, allocations: 0 / 0.5105 GB, free: 13.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/0.4321, allocations: 8.219 MB / 0.5185 GB, free: 8.969 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.559/8.991, allocations: 11.97 kB / 0.5185 GB, free: 8.957 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.622461345046759] Failed to read output from testmodel.py, exit status != 0: 9.288232571911067 9.304565727 8.919375801 Calling exit ...