Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.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.001235/0.001235, allocations: 101.5 kB / 16.4 MB, free: 6.496 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.001238/0.001238, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.301/1.301, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1/1, allocations: 173.4 MB / 470.6 MB, free: 13.66 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 64.09 kB / 0.6478 GB, free: 11.81 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1677, allocations: 89.52 MB / 0.7352 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.00159/0.1693, allocations: 0.524 MB / 0.7357 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001818/0.1695, allocations: 47.73 kB / 0.7357 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.92e-05/0.1696, allocations: 0 / 0.7357 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.1696, allocations: 8 kB / 0.7357 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.1698, allocations: 0 / 0.7357 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.896e-05/0.1698, allocations: 11.92 kB / 0.7357 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.832e-05/0.1699, allocations: 8 kB / 0.7358 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.1699, allocations: 0 / 0.7358 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.468e-05/0.17, allocations: 11.98 kB / 0.7358 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.255e-05/0.1701, allocations: 15.92 kB / 0.7358 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1701, allocations: 0 / 0.7358 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-06/0.1701, allocations: 0 / 0.7358 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.1701, allocations: 4 kB / 0.7358 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.1702, allocations: 11.86 kB / 0.7358 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 6.731e-05/0.1702, allocations: 16.2 kB / 0.7358 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1702, allocations: 0 / 0.7358 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1703, allocations: 3.938 kB / 0.7358 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.1703, allocations: 0 / 0.7358 GB, free: 1.652 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004584/0.1707, allocations: 335.5 kB / 0.7361 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1708, allocations: 15.97 kB / 0.7361 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.371e-05/0.1708, allocations: 30.75 kB / 0.7362 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.996e-05/0.1708, allocations: 0.9375 kB / 0.7362 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.1711, allocations: 176.3 kB / 0.7363 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-06/0.1711, allocations: 384 / 0.7363 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.1711, allocations: 8.125 kB / 0.7364 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.314e-05/0.1712, allocations: 29.7 kB / 0.7364 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1712, allocations: 0 / 0.7364 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.1712, allocations: 0 / 0.7364 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1712, allocations: 7.984 kB / 0.7364 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.965e-05/0.1712, allocations: 7.922 kB / 0.7364 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.1714, allocations: 153.7 kB / 0.7365 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.528e-05/0.1715, allocations: 18.58 kB / 0.7366 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/0.1715, allocations: 12.86 kB / 0.7366 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.1715, allocations: 0 / 0.7366 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.1716, allocations: 42.55 kB / 0.7366 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1716, allocations: 0 / 0.7366 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001345/0.1717, allocations: 45.62 kB / 0.7367 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.1717, allocations: 51.41 kB / 0.7367 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1719, allocations: 109.8 kB / 0.7368 GB, free: 440 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1719, allocations: 25.7 kB / 0.7368 GB, free: 408 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.1719, allocations: 84.14 kB / 0.7369 GB, free: 320 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.172, allocations: 3.953 kB / 0.7369 GB, free: 316 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.172, allocations: 13.84 kB / 0.7369 GB, free: 296 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1722, allocations: 322.8 kB / 0.7372 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.1722, allocations: 4 kB / 0.7372 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.6e-05/0.1722, allocations: 13.72 kB / 0.7373 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.232e-05/0.1723, allocations: 25.64 kB / 0.7373 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1723, allocations: 0 / 0.7373 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.456e-05/0.1723, allocations: 53.69 kB / 0.7373 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1724, allocations: 4 kB / 0.7373 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.1724, allocations: 0 / 0.7373 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1724, allocations: 4 kB / 0.7373 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.05e-05/0.1725, allocations: 7.938 kB / 0.7373 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1725, allocations: 0 / 0.7373 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.87e-05/0.1725, allocations: 7.938 kB / 0.7374 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.1725, allocations: 4.188 kB / 0.7374 GB, free: 15.82 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 8.316e-05/0.1726, allocations: 113.9 kB / 0.7375 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.1726, allocations: 7.938 kB / 0.7375 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.1727, allocations: 49.16 kB / 0.7375 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.1727, allocations: 0 / 0.7375 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.1727, allocations: 7.984 kB / 0.7375 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.1728, allocations: 0 / 0.7375 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.1729, allocations: 161.6 kB / 0.7377 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1729, allocations: 0 / 0.7377 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.567e-05/0.1729, allocations: 0 / 0.7377 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.173, allocations: 7.938 kB / 0.7377 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.173, allocations: 4.031 kB / 0.7377 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.173, allocations: 0 / 0.7377 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.173, allocations: 0 / 0.7377 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.1731, allocations: 81.05 kB / 0.7378 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.1732, allocations: 85.09 kB / 0.7379 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.1732, allocations: 0 / 0.7379 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.984e-05/0.1732, allocations: 0 / 0.7379 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.1732, allocations: 8.078 kB / 0.7379 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.1733, allocations: 4 kB / 0.7379 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.648e-05/0.1733, allocations: 87.28 kB / 0.738 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1733, allocations: 0 / 0.738 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001698/0.1735, allocations: 0 / 0.738 GB, free: 15.11 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0004455/0.1739, allocations: 0.6164 MB / 0.7386 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.92e-05/0.174, allocations: 15.98 kB / 0.7386 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.174, allocations: 0 / 0.7386 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.557e-05/0.1741, allocations: 7.938 kB / 0.7386 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.1742, allocations: 11.92 kB / 0.7386 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.1752, allocations: 1.144 MB / 0.7397 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.1756, allocations: 0.6807 MB / 0.7404 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.696e-05/0.1756, allocations: 4 kB / 0.7404 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.1756, allocations: 11.44 kB / 0.7404 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.1757, allocations: 0 / 0.7404 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.1978, allocations: 1.189 MB / 0.7415 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.154, allocations: 16.59 kB / 0.7416 GB, free: 11.34 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.035354417050257] Failed to read output from testmodel.py, exit status != 0: 8.219817069009878 8.550458988 8.070302347 Calling exit ...