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.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.001357/0.001357, allocations: 107.2 kB / 16.45 MB, free: 6.035 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.001378/0.001378, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.409/1.409, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.01262/0.01262, allocations: 2.8 MB / 305.5 MB, free: 6.965 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.Misc.RhoSmoothing,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Misc_RhoSmoothing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Misc_RhoSmoothing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 71.89 kB / 425 MB, free: 22.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08671/0.08864, allocations: 52.95 MB / 478 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.02187/0.1105, allocations: 18.98 MB / 496.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003517/0.114, allocations: 3.534 MB / 0.4887 GB, free: 10.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.588e-05/0.1141, allocations: 0 / 0.4887 GB, free: 10.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007484/0.1149, allocations: 306.3 kB / 0.489 GB, free: 10.31 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.115, allocations: 87.23 kB / 0.4891 GB, free: 10.22 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.1166, allocations: 0.5974 MB / 0.4897 GB, free: 9.621 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.1168, allocations: 182.6 kB / 0.4899 GB, free: 9.441 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.207e-05/0.1169, allocations: 8.312 kB / 0.4899 GB, free: 9.434 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.237e-05/0.1169, allocations: 55.75 kB / 0.4899 GB, free: 9.379 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.1171, allocations: 63.66 kB / 0.49 GB, free: 9.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.1171, allocations: 4 kB / 0.49 GB, free: 9.312 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5476/0.6647, allocations: 42.32 MB / 0.5313 GB, free: 23.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.803e-05/0.6647, allocations: 13.72 kB / 0.5313 GB, free: 23.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.6649, allocations: 79.59 kB / 0.5314 GB, free: 23.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.666, allocations: 371.5 kB / 0.5318 GB, free: 23.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.666, allocations: 3.938 kB / 0.5318 GB, free: 23.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.666, allocations: 0 / 0.5318 GB, free: 23.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.666, allocations: 4 kB / 0.5318 GB, free: 23.73 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.0004761/0.6665, allocations: 492 kB / 0.5322 GB, free: 23.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.6665, allocations: 9.656 kB / 0.5322 GB, free: 23.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/0.6666, allocations: 59.25 kB / 0.5323 GB, free: 23.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.6667, allocations: 30.16 kB / 0.5323 GB, free: 23.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.517e-05/0.6668, allocations: 180.7 kB / 0.5325 GB, free: 23.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.6668, allocations: 2.875 kB / 0.5325 GB, free: 23.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.6668, allocations: 11.19 kB / 0.5325 GB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.6671, allocations: 240.5 kB / 0.5327 GB, free: 23.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.6671, allocations: 3.984 kB / 0.5328 GB, free: 23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.6671, allocations: 5.797 kB / 0.5328 GB, free: 23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.6671, allocations: 12.81 kB / 0.5328 GB, free: 23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.6674, allocations: 270.9 kB / 0.533 GB, free: 23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/0.668, allocations: 0.6096 MB / 0.5336 GB, free: 22.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.6682, allocations: 189.8 kB / 0.5338 GB, free: 22.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.6684, allocations: 176.5 kB / 0.534 GB, free: 22.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-05/0.6684, allocations: 22.19 kB / 0.534 GB, free: 22.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.6685, allocations: 34.83 kB / 0.534 GB, free: 22.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 1.513e-06/0.6685, allocations: 1.5 kB / 0.534 GB, free: 22.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.002914/0.6714, allocations: 0.6777 MB / 0.5347 GB, free: 22.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.6714, allocations: 53.39 kB / 0.5347 GB, free: 22.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.351e-05/0.6715, allocations: 99.41 kB / 0.5348 GB, free: 22.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.6715, allocations: 27.97 kB / 0.5349 GB, free: 22.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.085e-05/0.6715, allocations: 98.88 kB / 0.535 GB, free: 22.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.74e-05/0.6716, allocations: 212 kB / 0.5352 GB, free: 22.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.6717, allocations: 50.83 kB / 0.5352 GB, free: 22.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.595e-05/0.6717, allocations: 331.6 kB / 0.5355 GB, free: 21.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.6719, allocations: 167.3 kB / 0.5357 GB, free: 21.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.6721, allocations: 215.8 kB / 0.5359 GB, free: 21.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003933/0.6725, allocations: 422.9 kB / 0.5363 GB, free: 21.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6725, allocations: 1.25 kB / 0.5363 GB, free: 21.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004966/0.6729, allocations: 464.1 kB / 0.5367 GB, free: 21.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.673, allocations: 6.109 kB / 0.5367 GB, free: 21.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.673, allocations: 1.375 kB / 0.5367 GB, free: 21.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.673, allocations: 9.406 kB / 0.5368 GB, free: 21.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.198e-05/0.6731, allocations: 11.78 kB / 0.5368 GB, free: 21.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.6731, allocations: 1.375 kB / 0.5368 GB, free: 21.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.754e-05/0.6732, allocations: 25.23 kB / 0.5368 GB, free: 21.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.6732, allocations: 8.547 kB / 0.5368 GB, free: 21.59 MB / 382.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 7.841e-05/0.6733, allocations: 120.5 kB / 0.5369 GB, free: 21.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.6733, allocations: 21.67 kB / 0.5369 GB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004548/0.6738, allocations: 439.3 kB / 0.5374 GB, free: 21.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.6738, allocations: 18.61 kB / 0.5374 GB, free: 21.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.6738, allocations: 0 / 0.5374 GB, free: 21.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.6738, allocations: 1.938 kB / 0.5374 GB, free: 21.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.6741, allocations: 333.2 kB / 0.5377 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.6741, allocations: 6 kB / 0.5377 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.6741, allocations: 9.266 kB / 0.5377 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.6741, allocations: 0.5156 kB / 0.5377 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.6741, allocations: 2.188 kB / 0.5377 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.6741, allocations: 5.406 kB / 0.5377 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6741, allocations: 0 / 0.5377 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.6746, allocations: 0.5377 MB / 0.5382 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.6746, allocations: 109.1 kB / 0.5383 GB, free: 20.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.6746, allocations: 8.375 kB / 0.5383 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.033e-05/0.6747, allocations: 5.031 kB / 0.5384 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.6748, allocations: 8.344 kB / 0.5384 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.6748, allocations: 3.453 kB / 0.5384 GB, free: 20.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.168e-05/0.6748, allocations: 80.84 kB / 0.5384 GB, free: 20.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6748, allocations: 1.312 kB / 0.5384 GB, free: 20.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004417/0.6752, allocations: 105.3 kB / 0.5385 GB, free: 20.82 MB / 382.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.0011/0.6763, allocations: 1.329 MB / 0.5398 GB, free: 20.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003998/0.6767, allocations: 428 kB / 0.5402 GB, free: 20 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6767, allocations: 0 / 0.5402 GB, free: 20 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.6769, allocations: 231.9 kB / 0.5405 GB, free: 19.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007378/0.6776, allocations: 133.8 kB / 0.5406 GB, free: 19.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008553/0.6785, allocations: 0.6806 MB / 0.5413 GB, free: 19.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.6787, allocations: 0.7657 MB / 0.542 GB, free: 18.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.6788, allocations: 23.77 kB / 0.542 GB, free: 18.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.715e-05/0.6788, allocations: 73.77 kB / 0.5421 GB, free: 18.9 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.6788, allocations: 0 / 0.5421 GB, free: 18.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03372/0.7126, allocations: 11.87 MB / 0.5537 GB, free: 10.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.857/9.57, allocations: 8.781 kB / 0.5537 GB, free: 10.35 MB / 382.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: 14.647023707162589] Failed to read output from testmodel.py, exit status != 0: 9.858912335243076 9.879155364 9.208620847 Calling exit ...