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.001256/0.001256, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001402/0.001402, allocations: 215.2 kB / 23.04 MB, free: 5.07 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.01246/0.01246, allocations: 2.8 MB / 316 MB, free: 304 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.002068/0.002068, allocations: 63.89 kB / 439.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08711/0.08918, allocations: 54.18 MB / 493.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.02041/0.1096, allocations: 19.16 MB / 0.5008 GB, free: 4.133 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003371/0.113, allocations: 3.534 MB / 0.5043 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.1131, allocations: 0 / 0.5043 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007333/0.1138, allocations: 298.3 kB / 0.5045 GB, free: 300 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.114, allocations: 91.23 kB / 0.5046 GB, free: 208 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2078/0.3218, allocations: 0.5914 MB / 0.5052 GB, free: 4.512 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003953/0.3222, allocations: 187.4 kB / 0.5054 GB, free: 4.512 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.515e-05/0.3223, allocations: 11.14 kB / 0.5054 GB, free: 4.512 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.3224, allocations: 50.88 kB / 0.5054 GB, free: 4.512 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.3226, allocations: 67.47 kB / 0.5055 GB, free: 4.512 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.3226, allocations: 2.656 kB / 0.5055 GB, free: 4.512 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3466/0.6692, allocations: 42.36 MB / 0.5469 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.6693, allocations: 17.81 kB / 0.5469 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.6695, allocations: 91.94 kB / 0.547 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.6708, allocations: 368.9 kB / 0.5473 GB, free: 14.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6708, allocations: 0 / 0.5473 GB, free: 14.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.6708, allocations: 0 / 0.5473 GB, free: 14.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.6708, allocations: 0 / 0.5473 GB, free: 14.39 MB / 398.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.0006065/0.6714, allocations: 417.3 kB / 0.5477 GB, free: 14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.6714, allocations: 12.03 kB / 0.5477 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.966e-05/0.6714, allocations: 4.188 kB / 0.5477 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.01e-05/0.6715, allocations: 56.47 kB / 0.5478 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.6716, allocations: 40.58 kB / 0.5478 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.6717, allocations: 121.5 kB / 0.548 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.6717, allocations: 4 kB / 0.548 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.6717, allocations: 11.81 kB / 0.548 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.672, allocations: 251.7 kB / 0.5482 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.672, allocations: 0 / 0.5482 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.672, allocations: 3.812 kB / 0.5482 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.6721, allocations: 12.61 kB / 0.5482 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.6723, allocations: 286.4 kB / 0.5485 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007553/0.6731, allocations: 0.6004 MB / 0.5491 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.6733, allocations: 196.8 kB / 0.5493 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.6735, allocations: 184.4 kB / 0.5494 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.99e-05/0.6736, allocations: 22.02 kB / 0.5495 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.6736, allocations: 38.12 kB / 0.5495 GB, free: 12.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 1.273e-06/0.6736, allocations: 4 kB / 0.5495 GB, free: 12.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=63): time 0.003505/0.6771, allocations: 0.7062 MB / 0.5502 GB, free: 12.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.6771, allocations: 55.41 kB / 0.5502 GB, free: 12.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.958e-05/0.6772, allocations: 105.5 kB / 0.5503 GB, free: 12.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.6773, allocations: 29.64 kB / 0.5504 GB, free: 12.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.6773, allocations: 88.91 kB / 0.5505 GB, free: 11.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.6775, allocations: 219.7 kB / 0.5507 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.162e-05/0.6776, allocations: 51.06 kB / 0.5507 GB, free: 11.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6777, allocations: 334.5 kB / 0.551 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.6779, allocations: 177.5 kB / 0.5512 GB, free: 11.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.6781, allocations: 225.7 kB / 0.5514 GB, free: 11.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.6785, allocations: 447.5 kB / 0.5519 GB, free: 10.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6785, allocations: 4 kB / 0.5519 GB, free: 10.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000478/0.679, allocations: 470.9 kB / 0.5523 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.679, allocations: 4 kB / 0.5523 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.679, allocations: 0 / 0.5523 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.679, allocations: 7.938 kB / 0.5523 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.868e-05/0.6791, allocations: 14.89 kB / 0.5523 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.6791, allocations: 0 / 0.5523 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.215e-05/0.6792, allocations: 31.48 kB / 0.5524 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.6792, allocations: 4 kB / 0.5524 GB, free: 10.49 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.0001092/0.6793, allocations: 128.4 kB / 0.5525 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.6794, allocations: 15.86 kB / 0.5525 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005141/0.6799, allocations: 463.9 kB / 0.5529 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.6799, allocations: 3.984 kB / 0.5529 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6799, allocations: 0 / 0.5529 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.6799, allocations: 3.938 kB / 0.553 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.6803, allocations: 322.6 kB / 0.5533 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.6803, allocations: 4 kB / 0.5533 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.313e-05/0.6803, allocations: 15.28 kB / 0.5533 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.6803, allocations: 3.938 kB / 0.5533 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.6803, allocations: 3.938 kB / 0.5533 GB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.6803, allocations: 4 kB / 0.5533 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6803, allocations: 0 / 0.5533 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/0.6809, allocations: 0.5501 MB / 0.5538 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.681, allocations: 31.73 kB / 0.5539 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.681, allocations: 3.938 kB / 0.5539 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.05e-05/0.6811, allocations: 8.172 kB / 0.5539 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.6811, allocations: 7.188 kB / 0.5539 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.6811, allocations: 7.984 kB / 0.5539 GB, free: 9.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.541e-05/0.6812, allocations: 83.27 kB / 0.554 GB, free: 9.188 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6812, allocations: 0 / 0.554 GB, free: 9.188 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004685/0.6816, allocations: 99.75 kB / 0.5541 GB, free: 9.09 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.001612/0.6832, allocations: 1.352 MB / 0.5554 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005719/0.6838, allocations: 456.9 kB / 0.5558 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6838, allocations: 0 / 0.5558 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.6841, allocations: 249 kB / 0.5561 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008847/0.685, allocations: 140.2 kB / 0.5562 GB, free: 6.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.6861, allocations: 0.6717 MB / 0.5568 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.6865, allocations: 0.7661 MB / 0.5576 GB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.6866, allocations: 24.58 kB / 0.5576 GB, free: 5.406 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.6867, allocations: 75.41 kB / 0.5577 GB, free: 5.332 MB / 398.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6867, allocations: 4 kB / 0.5577 GB, free: 5.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/0.7244, allocations: 12.53 MB / 0.5699 GB, free: 8.934 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.28, allocations: 11.44 kB / 0.5699 GB, free: 8.926 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.343506166012958] Failed to read output from testmodel.py, exit status != 0: 12.66713117796462 12.684182715 12.010138637 Calling exit ...