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.001616/0.001616, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001417/0.001417, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.01276/0.01276, allocations: 2.805 MB / 316 MB, free: 124 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.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.001962/0.001962, allocations: 71.89 kB / 439.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0982/0.1002, allocations: 54.17 MB / 493.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.0204/0.1206, allocations: 17.16 MB / 0.4988 GB, free: 5.867 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003032/0.1236, allocations: 3.044 MB / 0.5017 GB, free: 2.812 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.36e-05/0.1237, allocations: 0 / 0.5017 GB, free: 2.812 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006752/0.1244, allocations: 242.6 kB / 0.502 GB, free: 2.574 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.1245, allocations: 87.23 kB / 0.5021 GB, free: 2.488 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.126, allocations: 0.5818 MB / 0.5026 GB, free: 1.902 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.1262, allocations: 182.6 kB / 0.5028 GB, free: 1.723 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.16e-05/0.1263, allocations: 16.58 kB / 0.5028 GB, free: 1.703 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.82e-05/0.1263, allocations: 55.73 kB / 0.5029 GB, free: 1.648 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1265, allocations: 59.67 kB / 0.5029 GB, free: 1.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.1265, allocations: 0 / 0.5029 GB, free: 1.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5435/0.67, allocations: 42.36 MB / 0.5443 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.6701, allocations: 19.75 kB / 0.5443 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.6702, allocations: 69.47 kB / 0.5444 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.672, allocations: 370.9 kB / 0.5447 GB, free: 3.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.672, allocations: 0 / 0.5447 GB, free: 3.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.672, allocations: 0 / 0.5447 GB, free: 3.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.672, allocations: 0 / 0.5447 GB, free: 3.312 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0006667/0.6727, allocations: 412.9 kB / 0.5451 GB, free: 2.926 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.6727, allocations: 15.97 kB / 0.5451 GB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.148e-05/0.6727, allocations: 12.06 kB / 0.5451 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.841e-05/0.6728, allocations: 47.64 kB / 0.5452 GB, free: 2.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.6729, allocations: 38.61 kB / 0.5452 GB, free: 2.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.6731, allocations: 122.4 kB / 0.5453 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.6731, allocations: 7.75 kB / 0.5454 GB, free: 2.691 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.6731, allocations: 7.938 kB / 0.5454 GB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.6734, allocations: 248.3 kB / 0.5456 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.6734, allocations: 0 / 0.5456 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.6734, allocations: 0 / 0.5456 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.6734, allocations: 13.66 kB / 0.5456 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.6737, allocations: 295.2 kB / 0.5459 GB, free: 2.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008203/0.6746, allocations: 0.5899 MB / 0.5465 GB, free: 1.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.6748, allocations: 204.3 kB / 0.5467 GB, free: 1.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.675, allocations: 187.3 kB / 0.5468 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.168e-05/0.675, allocations: 23.55 kB / 0.5469 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.6751, allocations: 34.06 kB / 0.5469 GB, free: 1.719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 1.753e-06/0.6751, allocations: 0 / 0.5469 GB, free: 1.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.003934/0.679, allocations: 0.7137 MB / 0.5476 GB, free: 1.281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.679, allocations: 51.41 kB / 0.5476 GB, free: 1.219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.6791, allocations: 104.3 kB / 0.5477 GB, free: 1.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.6792, allocations: 25.7 kB / 0.5478 GB, free: 1.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.6792, allocations: 93.34 kB / 0.5479 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.6794, allocations: 220.8 kB / 0.5481 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/0.6795, allocations: 53.02 kB / 0.5481 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6796, allocations: 328.5 kB / 0.5484 GB, free: 472 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.6798, allocations: 176.4 kB / 0.5486 GB, free: 388 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.6799, allocations: 230.9 kB / 0.5488 GB, free: 252 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.6803, allocations: 442.4 kB / 0.5492 GB, free: 4 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.6803, allocations: 0 / 0.5492 GB, free: 4 kB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005838/0.6809, allocations: 490.2 kB / 0.5497 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.681, allocations: 8 kB / 0.5497 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.681, allocations: 0 / 0.5497 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.681, allocations: 3.938 kB / 0.5497 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.219e-05/0.6811, allocations: 15.98 kB / 0.5497 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.6811, allocations: 160 / 0.5497 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.541e-05/0.6812, allocations: 27.73 kB / 0.5498 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.6812, allocations: 11.17 kB / 0.5498 GB, free: 15.65 MB / 398.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.0001185/0.6813, allocations: 118.4 kB / 0.5499 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.6813, allocations: 19.86 kB / 0.5499 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005501/0.6819, allocations: 465.8 kB / 0.5503 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.6819, allocations: 11.27 kB / 0.5504 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6819, allocations: 3.938 kB / 0.5504 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.6819, allocations: 0 / 0.5504 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.6823, allocations: 317 kB / 0.5507 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.6823, allocations: 0 / 0.5507 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.745e-05/0.6824, allocations: 15.94 kB / 0.5507 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6824, allocations: 0 / 0.5507 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.6824, allocations: 3.938 kB / 0.5507 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.6824, allocations: 0 / 0.5507 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6824, allocations: 0 / 0.5507 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005791/0.683, allocations: 0.5588 MB / 0.5512 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.683, allocations: 30.36 kB / 0.5513 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.683, allocations: 3.938 kB / 0.5513 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.6831, allocations: 0 / 0.5513 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.6831, allocations: 7.984 kB / 0.5513 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.6831, allocations: 4 kB / 0.5513 GB, free: 14.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.739e-05/0.6832, allocations: 83.27 kB / 0.5514 GB, free: 14.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6832, allocations: 4 kB / 0.5514 GB, free: 14.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004206/0.6836, allocations: 91.81 kB / 0.5514 GB, free: 14 MB / 398.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.001625/0.6852, allocations: 1.369 MB / 0.5528 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005905/0.6858, allocations: 459 kB / 0.5532 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6858, allocations: 0 / 0.5532 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002571/0.6861, allocations: 253.3 kB / 0.5535 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008291/0.6869, allocations: 132.4 kB / 0.5536 GB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.688, allocations: 0.6687 MB / 0.5542 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.6882, allocations: 152.8 kB / 0.5544 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.6883, allocations: 24.58 kB / 0.5544 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.937e-05/0.6884, allocations: 75.41 kB / 0.5545 GB, free: 10.86 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6884, allocations: 0 / 0.5545 GB, free: 10.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03705/0.7254, allocations: 12.82 MB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.64, allocations: 7.156 kB / 0.567 GB, free: 14.2 MB / 414.1 MB " [Timeout remaining time 647] (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: 19.73155985295307] Failed to read output from testmodel.py, exit status != 0: 13.026528613991104 13.05259987 12.375684269 Calling exit ...