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.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.001236/0.001236, allocations: 107.7 kB / 16.45 MB, free: 6.035 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.001225/0.001225, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.347/1.347, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.7937/0.7937, allocations: 134 MB / 436.6 MB, free: 1.293 MB / 334.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.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_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: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 68.8 kB / 0.6051 GB, free: 15.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1558, allocations: 84.67 MB / 0.6878 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.00171/0.1575, allocations: 0.524 MB / 0.6883 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001741/0.1577, allocations: 47.8 kB / 0.6883 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.1578, allocations: 0 / 0.6883 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.165e-05/0.1578, allocations: 3.938 kB / 0.6883 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.1579, allocations: 4 kB / 0.6883 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 4.368e-05/0.158, allocations: 0 / 0.6883 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.604e-05/0.158, allocations: 15.92 kB / 0.6884 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.1581, allocations: 7.984 kB / 0.6884 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.145e-05/0.1581, allocations: 0 / 0.6884 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.287e-05/0.1581, allocations: 15.92 kB / 0.6884 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.1582, allocations: 0 / 0.6884 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-06/0.1582, allocations: 4 kB / 0.6884 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.716e-05/0.1582, allocations: 0 / 0.6884 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.1582, allocations: 11.94 kB / 0.6884 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 5.421e-05/0.1583, allocations: 7.969 kB / 0.6884 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1583, allocations: 4 kB / 0.6884 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1583, allocations: 0 / 0.6884 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.1583, allocations: 0 / 0.6884 GB, free: 10.47 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.0004186/0.1587, allocations: 323.8 kB / 0.6887 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1588, allocations: 16.03 kB / 0.6887 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.1588, allocations: 30.75 kB / 0.6888 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.896e-05/0.1588, allocations: 0.9375 kB / 0.6888 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.159, allocations: 180.3 kB / 0.6889 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.159, allocations: 4.375 kB / 0.6889 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.159, allocations: 4.125 kB / 0.6889 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.545e-05/0.1591, allocations: 37.62 kB / 0.689 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1591, allocations: 0 / 0.689 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1591, allocations: 4 kB / 0.689 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.1591, allocations: 4 kB / 0.689 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.812e-05/0.1591, allocations: 4 kB / 0.689 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.1593, allocations: 153.6 kB / 0.6891 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.32e-05/0.1593, allocations: 22.56 kB / 0.6892 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.056e-05/0.1594, allocations: 12.86 kB / 0.6892 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.1594, allocations: 3.938 kB / 0.6892 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.1594, allocations: 38.97 kB / 0.6892 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1594, allocations: 0 / 0.6892 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001294/0.1595, allocations: 41.69 kB / 0.6893 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.1596, allocations: 51.41 kB / 0.6893 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.446e-05/0.1597, allocations: 105.8 kB / 0.6894 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1597, allocations: 25.7 kB / 0.6894 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.1597, allocations: 92.12 kB / 0.6895 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.1598, allocations: 3.953 kB / 0.6895 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.1598, allocations: 17.84 kB / 0.6895 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1599, allocations: 318.8 kB / 0.6898 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.1599, allocations: 4 kB / 0.6898 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.008e-05/0.16, allocations: 21.64 kB / 0.6899 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.639e-05/0.16, allocations: 13.72 kB / 0.6899 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.16, allocations: 4 kB / 0.6899 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.551e-05/0.1601, allocations: 57.62 kB / 0.6899 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.1601, allocations: 4 kB / 0.6899 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1601, allocations: 3.984 kB / 0.6899 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1601, allocations: 0 / 0.6899 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.608e-05/0.1602, allocations: 4 kB / 0.69 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1602, allocations: 0 / 0.69 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.467e-05/0.1602, allocations: 4 kB / 0.69 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.1602, allocations: 0 / 0.69 GB, free: 8.648 MB / 0.5137 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.078e-05/0.1603, allocations: 113.9 kB / 0.6901 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/0.1603, allocations: 7.938 kB / 0.6901 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.62e-05/0.1604, allocations: 52.73 kB / 0.6901 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.1604, allocations: 4 kB / 0.6901 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1604, allocations: 0 / 0.6901 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1604, allocations: 0 / 0.6901 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.1605, allocations: 157.6 kB / 0.6903 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1605, allocations: 0 / 0.6903 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.596e-05/0.1606, allocations: 4 kB / 0.6903 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1606, allocations: 7.922 kB / 0.6903 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.1606, allocations: 4.031 kB / 0.6903 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1606, allocations: 256 / 0.6903 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1606, allocations: 3.984 kB / 0.6903 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.1607, allocations: 88.95 kB / 0.6904 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.1608, allocations: 81.11 kB / 0.6905 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.1608, allocations: 0 / 0.6905 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.463e-05/0.1608, allocations: 8.016 kB / 0.6905 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.1608, allocations: 4.094 kB / 0.6905 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.1608, allocations: 0 / 0.6905 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.132e-05/0.1609, allocations: 87.28 kB / 0.6906 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1609, allocations: 0 / 0.6906 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001757/0.161, allocations: 0 / 0.6906 GB, free: 7.93 MB / 0.5137 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.0004116/0.1615, allocations: 0.6125 MB / 0.6912 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.449e-05/0.1615, allocations: 15.92 kB / 0.6912 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1615, allocations: 4 kB / 0.6912 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.469e-05/0.1615, allocations: 7.984 kB / 0.6912 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.1617, allocations: 6.594 kB / 0.6912 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009784/0.1627, allocations: 1.144 MB / 0.6923 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.163, allocations: 0.6846 MB / 0.693 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.702e-05/0.163, allocations: 0 / 0.693 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.163, allocations: 15.44 kB / 0.693 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.163, allocations: 0 / 0.693 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.1864, allocations: 1.188 MB / 0.6941 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/7.666, allocations: 0.875 kB / 0.6941 GB, free: 4.195 MB / 0.5137 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 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: 10.92870882106945] Failed to read output from testmodel.py, exit status != 0: 7.728618531022221 7.752861955 7.590656173 Calling exit ...