Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example5.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.001916/0.001916, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002439/0.002439, allocations: 219 kB / 22.26 MB, free: 5.082 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.386/1.386, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7973/0.7973, allocations: 134 MB / 446.4 MB, free: 10.27 MB / 350.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/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(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001894/0.001894, allocations: 78.59 kB / 0.6185 GB, free: 7.211 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1584, allocations: 85.91 MB / 0.7024 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.00163/0.16, allocations: 0.5238 MB / 0.7029 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001784/0.1602, allocations: 48.2 kB / 0.703 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.1603, allocations: 0 / 0.703 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.899e-05/0.1603, allocations: 4 kB / 0.703 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.1604, allocations: 4 kB / 0.703 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 5.183e-05/0.1605, allocations: 3.938 kB / 0.703 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.837e-05/0.1605, allocations: 11.98 kB / 0.703 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.1606, allocations: 4 kB / 0.703 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.695e-05/0.1606, allocations: 3.984 kB / 0.703 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.339e-05/0.1607, allocations: 11.92 kB / 0.703 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.1607, allocations: 0 / 0.703 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/0.1607, allocations: 4 kB / 0.703 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.1608, allocations: 4 kB / 0.703 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.1608, allocations: 11.94 kB / 0.703 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 6.413e-05/0.1608, allocations: 8.266 kB / 0.7031 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1608, allocations: 0 / 0.7031 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1609, allocations: 0 / 0.7031 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.1609, allocations: 0 / 0.7031 GB, free: 0.75 MB / 0.5137 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.0003824/0.1612, allocations: 254.3 kB / 0.7033 GB, free: 484 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1613, allocations: 12.03 kB / 0.7033 GB, free: 472 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.1613, allocations: 34.73 kB / 0.7033 GB, free: 428 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.1e-05/0.1613, allocations: 8.828 kB / 0.7033 GB, free: 420 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.1615, allocations: 126.5 kB / 0.7035 GB, free: 268 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.1615, allocations: 384 / 0.7035 GB, free: 268 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.1615, allocations: 4.125 kB / 0.7035 GB, free: 264 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.753e-05/0.1616, allocations: 41.62 kB / 0.7035 GB, free: 216 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.1616, allocations: 0 / 0.7035 GB, free: 216 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.1616, allocations: 0 / 0.7035 GB, free: 216 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1616, allocations: 0 / 0.7035 GB, free: 216 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.806e-05/0.1616, allocations: 4 kB / 0.7035 GB, free: 212 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.1618, allocations: 124.8 kB / 0.7036 GB, free: 44 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.72e-05/0.1618, allocations: 30.5 kB / 0.7037 GB, free: 4 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.1619, allocations: 8.797 kB / 0.7037 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.1619, allocations: 0 / 0.7037 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.1619, allocations: 34.62 kB / 0.7037 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.1619, allocations: 0 / 0.7037 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001395/0.162, allocations: 37.69 kB / 0.7037 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.1621, allocations: 55.47 kB / 0.7038 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.911e-05/0.1622, allocations: 117.8 kB / 0.7039 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1622, allocations: 25.7 kB / 0.7039 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.1622, allocations: 80.14 kB / 0.704 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.1623, allocations: 7.938 kB / 0.704 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.1623, allocations: 17.72 kB / 0.704 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.1624, allocations: 310.8 kB / 0.7043 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.565e-05/0.1624, allocations: 4 kB / 0.7043 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-05/0.1625, allocations: 21.7 kB / 0.7044 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.844e-05/0.1625, allocations: 21.72 kB / 0.7044 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1625, allocations: 0 / 0.7044 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.911e-05/0.1626, allocations: 49.56 kB / 0.7044 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.1626, allocations: 4 kB / 0.7044 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1626, allocations: 4 kB / 0.7044 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1626, allocations: 8.109 kB / 0.7044 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.341e-05/0.1627, allocations: 4 kB / 0.7044 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1627, allocations: 0 / 0.7044 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.427e-05/0.1627, allocations: 4 kB / 0.7044 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.1627, allocations: 256 / 0.7044 GB, free: 15.12 MB / 0.5294 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 7.118e-05/0.1628, allocations: 109.8 kB / 0.7045 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.1628, allocations: 11.83 kB / 0.7046 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.602e-05/0.1629, allocations: 52.83 kB / 0.7046 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.1629, allocations: 32 / 0.7046 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1629, allocations: 15.88 kB / 0.7046 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1629, allocations: 0 / 0.7046 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.163, allocations: 132.7 kB / 0.7048 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.163, allocations: 0 / 0.7048 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.163, allocations: 0 / 0.7048 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.163, allocations: 4 kB / 0.7048 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.163, allocations: 0 / 0.7048 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1631, allocations: 0 / 0.7048 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1631, allocations: 0 / 0.7048 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.1632, allocations: 88.97 kB / 0.7048 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-06/0.1632, allocations: 4.031 kB / 0.7048 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.1632, allocations: 0 / 0.7048 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.997e-05/0.1632, allocations: 0 / 0.7048 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.1632, allocations: 3.984 kB / 0.7048 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.1632, allocations: 4 kB / 0.7049 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.034e-05/0.1633, allocations: 83.28 kB / 0.7049 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1633, allocations: 0 / 0.7049 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001758/0.1635, allocations: 4.094 kB / 0.7049 GB, free: 14.54 MB / 0.5294 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.0004015/0.1639, allocations: 0.6163 MB / 0.7055 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.719e-05/0.1639, allocations: 15.98 kB / 0.7056 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1639, allocations: 0 / 0.7056 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.776e-05/0.164, allocations: 16.2 kB / 0.7056 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.1641, allocations: 0 / 0.7056 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009835/0.1651, allocations: 1.143 MB / 0.7067 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.1654, allocations: 0.6883 MB / 0.7074 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.671e-05/0.1654, allocations: 0 / 0.7074 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.1654, allocations: 15.44 kB / 0.7074 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.1654, allocations: 0 / 0.7074 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.1922, allocations: 1.301 MB / 0.7086 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.56, allocations: 6.281 kB / 0.7086 GB, free: 10.73 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.095212800995796] Failed to read output from testmodel.py, exit status != 0: 10.660903605996282 10.685393087 10.520328792 Calling exit ...