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.001789/0.001789, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002248/0.002248, allocations: 208.7 kB / 22.24 MB, free: 5.262 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.793 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.01368/0.01368, allocations: 2.813 MB / 315.2 MB, free: 104 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.002089/0.002089, allocations: 67.91 kB / 438.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0989/0.101, allocations: 54.18 MB / 492.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.02008/0.1211, allocations: 17.17 MB / 0.498 GB, free: 5.824 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00322/0.1243, allocations: 3.052 MB / 0.501 GB, free: 2.762 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.1244, allocations: 0 / 0.501 GB, free: 2.762 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008533/0.1253, allocations: 234.6 kB / 0.5012 GB, free: 2.531 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.1254, allocations: 87.25 kB / 0.5013 GB, free: 2.445 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.1272, allocations: 0.5857 MB / 0.5019 GB, free: 1.855 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.1274, allocations: 178.7 kB / 0.5021 GB, free: 1.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.003e-05/0.1275, allocations: 8.594 kB / 0.5021 GB, free: 1.668 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.018e-05/0.1275, allocations: 59.73 kB / 0.5021 GB, free: 1.609 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.1276, allocations: 63.59 kB / 0.5022 GB, free: 1.547 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1277, allocations: 4 kB / 0.5022 GB, free: 1.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6072/0.7348, allocations: 42.35 MB / 0.5435 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.7349, allocations: 18.62 kB / 0.5436 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.735, allocations: 70.36 kB / 0.5436 GB, free: 3.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.7363, allocations: 371 kB / 0.544 GB, free: 3.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.7363, allocations: 0 / 0.544 GB, free: 3.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.7363, allocations: 4 kB / 0.544 GB, free: 3.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.7363, allocations: 0 / 0.544 GB, free: 3.215 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.0006699/0.737, allocations: 417.2 kB / 0.5444 GB, free: 2.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.737, allocations: 8.031 kB / 0.5444 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.84e-05/0.7371, allocations: 54.77 kB / 0.5444 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.7372, allocations: 34.58 kB / 0.5445 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.7373, allocations: 126.1 kB / 0.5446 GB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.7373, allocations: 4.438 kB / 0.5446 GB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.7374, allocations: 7.938 kB / 0.5446 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.7377, allocations: 250.2 kB / 0.5448 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.7377, allocations: 0 / 0.5448 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.7377, allocations: 4 kB / 0.5448 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.7377, allocations: 11.89 kB / 0.5449 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.738, allocations: 292.2 kB / 0.5451 GB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00074/0.7387, allocations: 0.5922 MB / 0.5457 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.7389, allocations: 202.5 kB / 0.5459 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.7391, allocations: 181.6 kB / 0.5461 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.986e-05/0.7392, allocations: 15.12 kB / 0.5461 GB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.7392, allocations: 41.56 kB / 0.5461 GB, free: 1.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 1.423e-06/0.7392, allocations: 0 / 0.5461 GB, free: 1.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.003235/0.7424, allocations: 0.714 MB / 0.5468 GB, free: 1.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.7425, allocations: 54.34 kB / 0.5469 GB, free: 1.133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.906e-05/0.7426, allocations: 103.5 kB / 0.547 GB, free: 1.027 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.7426, allocations: 25.7 kB / 0.547 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.7426, allocations: 96.34 kB / 0.5471 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.7428, allocations: 212.7 kB / 0.5473 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.393e-05/0.7428, allocations: 54.8 kB / 0.5474 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.743, allocations: 330.3 kB / 0.5477 GB, free: 388 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.7431, allocations: 174.6 kB / 0.5478 GB, free: 304 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.7433, allocations: 231.6 kB / 0.5481 GB, free: 172 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.7438, allocations: 451 kB / 0.5485 GB, free: 15.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.7438, allocations: 0 / 0.5485 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005208/0.7443, allocations: 474.8 kB / 0.5489 GB, free: 15.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.7443, allocations: 12.02 kB / 0.549 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.7443, allocations: 0 / 0.549 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.7444, allocations: 7.938 kB / 0.549 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.7444, allocations: 8 kB / 0.549 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.7444, allocations: 3.281 kB / 0.549 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.259e-05/0.7445, allocations: 31.42 kB / 0.549 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.7445, allocations: 4 kB / 0.549 GB, free: 15.56 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.0001079/0.7446, allocations: 118.5 kB / 0.5491 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.7447, allocations: 19.84 kB / 0.5491 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000503/0.7452, allocations: 463.5 kB / 0.5496 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.7452, allocations: 11.67 kB / 0.5496 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.7452, allocations: 0 / 0.5496 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.7452, allocations: 4 kB / 0.5496 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.7455, allocations: 318.6 kB / 0.5499 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7456, allocations: 0 / 0.5499 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.7456, allocations: 8 kB / 0.5499 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.7456, allocations: 0 / 0.5499 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.7456, allocations: 7.938 kB / 0.5499 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.7456, allocations: 3.938 kB / 0.5499 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.7456, allocations: 0 / 0.5499 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/0.7462, allocations: 0.5619 MB / 0.5505 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.7462, allocations: 31.77 kB / 0.5505 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.7462, allocations: 0 / 0.5505 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.191e-05/0.7463, allocations: 3.938 kB / 0.5505 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.027e-05/0.7463, allocations: 4 kB / 0.5505 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.7463, allocations: 7.984 kB / 0.5505 GB, free: 14.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.079e-05/0.7464, allocations: 79.47 kB / 0.5506 GB, free: 14.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7464, allocations: 0 / 0.5506 GB, free: 14.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004183/0.7468, allocations: 103.8 kB / 0.5507 GB, free: 13.95 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.001583/0.7484, allocations: 1.364 MB / 0.552 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005524/0.7489, allocations: 458.4 kB / 0.5525 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7489, allocations: 0 / 0.5525 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.7492, allocations: 256.3 kB / 0.5527 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008202/0.75, allocations: 132.2 kB / 0.5528 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.7511, allocations: 0.6634 MB / 0.5535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.7513, allocations: 164.4 kB / 0.5536 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.7514, allocations: 32.5 kB / 0.5537 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.285e-05/0.7515, allocations: 71.42 kB / 0.5537 GB, free: 10.81 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.7515, allocations: 0 / 0.5537 GB, free: 10.81 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04729/0.7988, allocations: 12.89 MB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.37, allocations: 3.938 kB / 0.5663 GB, free: 14.06 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: 16.658329016994685] Failed to read output from testmodel.py, exit status != 0: 12.696244268212467 12.712753512 11.973249736 Calling exit ...