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.001306/0.001306, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001483/0.001483, allocations: 217.5 kB / 22.25 MB, free: 5.121 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.977 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.01311/0.01311, allocations: 2.804 MB / 315.2 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="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: 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.002699/0.002699, allocations: 75.88 kB / 438.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1294, allocations: 54.17 MB / 492.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.02245/0.1519, allocations: 19.16 MB / 0.5 GB, free: 4.125 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00381/0.1557, allocations: 3.53 MB / 0.5035 GB, free: 0.582 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.1558, allocations: 0 / 0.5035 GB, free: 0.582 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008851/0.1567, allocations: 306.3 kB / 0.5038 GB, free: 288 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.1568, allocations: 83.3 kB / 0.5039 GB, free: 204 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2324/0.3892, allocations: 0.5944 MB / 0.5044 GB, free: 5.012 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003877/0.3896, allocations: 183.6 kB / 0.5046 GB, free: 5.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.415e-05/0.3897, allocations: 8.188 kB / 0.5046 GB, free: 5.012 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.316e-05/0.3898, allocations: 57.08 kB / 0.5047 GB, free: 5.012 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.3899, allocations: 66.31 kB / 0.5047 GB, free: 5.012 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.39, allocations: 1.438 kB / 0.5047 GB, free: 5.012 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3559/0.7459, allocations: 42.37 MB / 0.5461 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.089e-05/0.7459, allocations: 17.27 kB / 0.5461 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.7461, allocations: 83.52 kB / 0.5462 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009504/0.747, allocations: 368.4 kB / 0.5466 GB, free: 14.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.747, allocations: 0 / 0.5466 GB, free: 14.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.747, allocations: 4 kB / 0.5466 GB, free: 14.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.747, allocations: 0.75 kB / 0.5466 GB, free: 14.89 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.0005963/0.7476, allocations: 415 kB / 0.547 GB, free: 14.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.7477, allocations: 12.03 kB / 0.547 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.075e-05/0.7477, allocations: 53.36 kB / 0.547 GB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.7478, allocations: 37.83 kB / 0.5471 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.748, allocations: 124.5 kB / 0.5472 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.748, allocations: 7.562 kB / 0.5472 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.748, allocations: 11.94 kB / 0.5472 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.7483, allocations: 250.9 kB / 0.5474 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.7483, allocations: 0 / 0.5474 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.7483, allocations: 0 / 0.5474 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.7483, allocations: 13.7 kB / 0.5474 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.7486, allocations: 286 kB / 0.5477 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007521/0.7493, allocations: 0.602 MB / 0.5483 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.7496, allocations: 200.3 kB / 0.5485 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.7497, allocations: 183.9 kB / 0.5487 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.206e-05/0.7498, allocations: 23.55 kB / 0.5487 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.7498, allocations: 37.19 kB / 0.5487 GB, free: 13.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 1.322e-06/0.7498, allocations: 0 / 0.5487 GB, free: 13.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=63): time 0.002447/0.7523, allocations: 0.7033 MB / 0.5494 GB, free: 12.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.7523, allocations: 56.72 kB / 0.5495 GB, free: 12.65 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.524e-05/0.7524, allocations: 109.5 kB / 0.5496 GB, free: 12.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.7524, allocations: 33.52 kB / 0.5496 GB, free: 12.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.7525, allocations: 85.41 kB / 0.5497 GB, free: 12.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.7526, allocations: 220.2 kB / 0.5499 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-05/0.7527, allocations: 44.89 kB / 0.5499 GB, free: 12.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.7528, allocations: 334 kB / 0.5503 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.753, allocations: 176 kB / 0.5504 GB, free: 11.76 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.7532, allocations: 227.5 kB / 0.5506 GB, free: 11.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.7536, allocations: 441 kB / 0.5511 GB, free: 11.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7536, allocations: 4 kB / 0.5511 GB, free: 11.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004921/0.7541, allocations: 474.1 kB / 0.5515 GB, free: 11.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.7541, allocations: 8 kB / 0.5515 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.7541, allocations: 8.688 kB / 0.5515 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.7542, allocations: 3.938 kB / 0.5515 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.422e-05/0.7542, allocations: 15.38 kB / 0.5516 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.7542, allocations: 160 / 0.5516 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.061e-05/0.7543, allocations: 30.11 kB / 0.5516 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.7543, allocations: 4 kB / 0.5516 GB, free: 10.96 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.0001117/0.7545, allocations: 123.8 kB / 0.5517 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.7545, allocations: 23.55 kB / 0.5517 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000571/0.7551, allocations: 456.1 kB / 0.5522 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.7551, allocations: 15.92 kB / 0.5522 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7551, allocations: 3.938 kB / 0.5522 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7551, allocations: 0 / 0.5522 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/0.7555, allocations: 320.5 kB / 0.5525 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7555, allocations: 0 / 0.5525 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.7555, allocations: 8 kB / 0.5525 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.7555, allocations: 0 / 0.5525 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.7555, allocations: 3.281 kB / 0.5525 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.7555, allocations: 7.922 kB / 0.5525 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.7555, allocations: 8 kB / 0.5525 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006021/0.7561, allocations: 0.5588 MB / 0.5531 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.7562, allocations: 31.67 kB / 0.5531 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.7562, allocations: 0 / 0.5531 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.7563, allocations: 7.938 kB / 0.5531 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.7563, allocations: 7.984 kB / 0.5531 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.7563, allocations: 4 kB / 0.5531 GB, free: 9.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.185e-05/0.7563, allocations: 75.47 kB / 0.5532 GB, free: 9.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7563, allocations: 4 kB / 0.5532 GB, free: 9.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004315/0.7568, allocations: 107.7 kB / 0.5533 GB, free: 9.215 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.001491/0.7583, allocations: 1.351 MB / 0.5546 GB, free: 7.879 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005625/0.7588, allocations: 450.4 kB / 0.555 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7588, allocations: 192 / 0.555 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.7591, allocations: 256.3 kB / 0.5553 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008064/0.7599, allocations: 128.2 kB / 0.5554 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.7613, allocations: 0.6798 MB / 0.5561 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.7617, allocations: 0.7661 MB / 0.5568 GB, free: 5.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.7618, allocations: 28.56 kB / 0.5568 GB, free: 5.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.635e-05/0.7619, allocations: 71.41 kB / 0.5569 GB, free: 5.465 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.7619, allocations: 0 / 0.5569 GB, free: 5.465 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04199/0.8039, allocations: 12.5 MB / 0.5691 GB, free: 9.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.71, allocations: 3.094 kB / 0.5691 GB, free: 9.09 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 & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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: 17.006481108001026] Failed to read output from testmodel.py, exit status != 0: 13.050156944002083 13.080227534 12.327672043 Calling exit ...