Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.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.001259/0.001259, allocations: 114.7 kB / 17.16 MB, free: 6.004 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.002263/0.002263, allocations: 212.6 kB / 20.13 MB, free: 3.055 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.474/1.474, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.01151/0.01151, allocations: 2.8 MB / 312.3 MB, free: 2.297 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.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.Misc.RhoSmoothing,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Misc_RhoSmoothing",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Misc_RhoSmoothing",fmuType="cs",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.001964/0.001964, allocations: 64.5 kB / 434.2 MB, free: 39.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07659/0.07856, allocations: 54.13 MB / 488.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.01452/0.09307, allocations: 19.04 MB / 0.4955 GB, free: 13.29 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003449/0.09652, allocations: 3.538 MB / 0.499 GB, free: 9.738 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.09663, allocations: 0 / 0.499 GB, free: 9.738 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007018/0.09734, allocations: 298.3 kB / 0.4992 GB, free: 9.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.09748, allocations: 91.23 kB / 0.4993 GB, free: 9.355 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.09893, allocations: 0.5934 MB / 0.4999 GB, free: 8.758 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.09915, allocations: 186.5 kB / 0.5001 GB, free: 8.574 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.763e-05/0.09921, allocations: 12.31 kB / 0.5001 GB, free: 8.559 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.61e-05/0.09927, allocations: 59.73 kB / 0.5002 GB, free: 8.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.09938, allocations: 63.61 kB / 0.5002 GB, free: 8.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.0994, allocations: 4 kB / 0.5002 GB, free: 8.434 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3588/0.4582, allocations: 42.24 MB / 0.5415 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.4583, allocations: 15.86 kB / 0.5415 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.4584, allocations: 87.48 kB / 0.5416 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.4596, allocations: 366.8 kB / 0.5419 GB, free: 14.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4596, allocations: 0 / 0.5419 GB, free: 14.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.4596, allocations: 0 / 0.5419 GB, free: 14.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.4596, allocations: 0 / 0.5419 GB, free: 14.65 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007034/0.4603, allocations: 494.2 kB / 0.5424 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.4604, allocations: 15.98 kB / 0.5424 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.104e-05/0.4604, allocations: 8.188 kB / 0.5424 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.832e-05/0.4604, allocations: 50.72 kB / 0.5425 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.4606, allocations: 32.78 kB / 0.5425 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.4607, allocations: 184.1 kB / 0.5427 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.4607, allocations: 11.94 kB / 0.5427 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.4607, allocations: 4 kB / 0.5427 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.4611, allocations: 236.9 kB / 0.5429 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4611, allocations: 4 kB / 0.5429 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.4611, allocations: 4 kB / 0.5429 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.4611, allocations: 15.97 kB / 0.5429 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.4614, allocations: 268.5 kB / 0.5432 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000857/0.4623, allocations: 0.6148 MB / 0.5438 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.4625, allocations: 187.1 kB / 0.544 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.4627, allocations: 181.9 kB / 0.5441 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.856e-05/0.4628, allocations: 23.98 kB / 0.5442 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.4628, allocations: 30.56 kB / 0.5442 GB, free: 12.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 1.713e-06/0.4628, allocations: 4 kB / 0.5442 GB, free: 12.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=63): time 0.002887/0.4657, allocations: 0.6816 MB / 0.5449 GB, free: 11.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.4658, allocations: 51.41 kB / 0.5449 GB, free: 11.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.766e-05/0.4658, allocations: 97.86 kB / 0.545 GB, free: 11.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.4659, allocations: 25.7 kB / 0.545 GB, free: 11.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.4659, allocations: 105.3 kB / 0.5451 GB, free: 11.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.4661, allocations: 210.1 kB / 0.5453 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.948e-05/0.4661, allocations: 53.69 kB / 0.5454 GB, free: 10.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.4663, allocations: 330.8 kB / 0.5457 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.4665, allocations: 172.4 kB / 0.5459 GB, free: 10.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.4667, allocations: 210.7 kB / 0.5461 GB, free: 10.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004332/0.4671, allocations: 424.2 kB / 0.5465 GB, free: 9.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4671, allocations: 0 / 0.5465 GB, free: 9.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005255/0.4677, allocations: 455.4 kB / 0.5469 GB, free: 9.297 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4677, allocations: 7.938 kB / 0.5469 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4677, allocations: 0 / 0.5469 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4677, allocations: 7.938 kB / 0.5469 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.025e-05/0.4678, allocations: 12.08 kB / 0.5469 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.4678, allocations: 8 kB / 0.5469 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.833e-05/0.4679, allocations: 27.92 kB / 0.547 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.4679, allocations: 7.938 kB / 0.547 GB, free: 9.227 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (state_tbl.phase,state_spl.phase,state_std.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 7 * 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.0001103/0.468, allocations: 125.9 kB / 0.5471 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.4681, allocations: 23.78 kB / 0.5471 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/0.4686, allocations: 441.6 kB / 0.5475 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.4686, allocations: 7.984 kB / 0.5475 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4686, allocations: 4 kB / 0.5475 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4686, allocations: 0 / 0.5475 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.469, allocations: 345.8 kB / 0.5479 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.469, allocations: 7.922 kB / 0.5479 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.469, allocations: 8 kB / 0.5479 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.469, allocations: 3.938 kB / 0.5479 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.469, allocations: 4 kB / 0.5479 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.469, allocations: 0 / 0.5479 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.469, allocations: 0 / 0.5479 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.4703, allocations: 0.5413 MB / 0.5484 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.199e-05/0.4704, allocations: 104.8 kB / 0.5485 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.4704, allocations: 7.875 kB / 0.5485 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.024e-05/0.4705, allocations: 0 / 0.5485 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/0.4705, allocations: 7.984 kB / 0.5485 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.4705, allocations: 8 kB / 0.5486 GB, free: 7.504 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.43e-05/0.4705, allocations: 75.28 kB / 0.5486 GB, free: 7.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4705, allocations: 0 / 0.5486 GB, free: 7.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004438/0.471, allocations: 103.7 kB / 0.5487 GB, free: 7.328 MB / 414.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: 3 (state_std.phase,state_spl.phase,state_tbl.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.001502/0.4725, allocations: 1.331 MB / 0.55 GB, free: 5.969 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005293/0.473, allocations: 433.8 kB / 0.5504 GB, free: 5.539 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.473, allocations: 4 kB / 0.5504 GB, free: 5.535 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002493/0.4733, allocations: 233 kB / 0.5507 GB, free: 5.297 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008472/0.4741, allocations: 136.2 kB / 0.5508 GB, free: 5.164 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.4752, allocations: 0.665 MB / 0.5514 GB, free: 4.457 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.4756, allocations: 0.7688 MB / 0.5522 GB, free: 3.664 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.4757, allocations: 24.58 kB / 0.5522 GB, free: 3.637 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.408e-05/0.4758, allocations: 79.34 kB / 0.5523 GB, free: 3.559 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4758, allocations: 0 / 0.5523 GB, free: 3.559 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.507, allocations: 11.9 MB / 0.5639 GB, free: 7.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.795/9.302, allocations: 9.641 kB / 0.5639 GB, free: 7.723 MB / 430.1 MB " [Timeout remaining time 650] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_Misc_RhoSmoothing_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_Misc_RhoSmoothing.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.351513592002448] Failed to read output from testmodel.py, exit status != 0: 9.653183747956064 9.675365631 9.211668561 Calling exit ...