Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.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.001336/0.001336, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001471/0.001471, allocations: 217.2 kB / 22.99 MB, free: 4.914 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.8312/0.8312, allocations: 134 MB / 447.2 MB, free: 9.918 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: translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") [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.002073/0.002073, allocations: 67.06 kB / 0.6197 GB, free: 6.422 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1519, allocations: 85.9 MB / 0.7036 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002398/0.1543, allocations: 1.274 MB / 0.7048 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003963/0.1583, allocations: 3.098 MB / 0.7078 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.1583, allocations: 0 / 0.7078 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.393e-05/0.1583, allocations: 7.922 kB / 0.7078 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.062e-05/0.1584, allocations: 3.938 kB / 0.7078 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.1589, allocations: 107.5 kB / 0.7079 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.067e-05/0.159, allocations: 31.91 kB / 0.708 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.33e-05/0.159, allocations: 8 kB / 0.708 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.323e-05/0.159, allocations: 19.92 kB / 0.708 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.547e-05/0.1591, allocations: 23.91 kB / 0.708 GB, free: 12 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.1591, allocations: 0 / 0.708 GB, free: 12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.1593, allocations: 63.83 kB / 0.7081 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.1593, allocations: 7.984 kB / 0.7081 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.1594, allocations: 19.92 kB / 0.7081 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.1595, allocations: 63.8 kB / 0.7082 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1595, allocations: 0 / 0.7082 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1595, allocations: 0 / 0.7082 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.1595, allocations: 0 / 0.7082 GB, free: 11.85 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004156/0.16, allocations: 274.3 kB / 0.7084 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.16, allocations: 12.03 kB / 0.7084 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.281e-05/0.1601, allocations: 4.938 kB / 0.7085 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.1602, allocations: 110.4 kB / 0.7086 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1602, allocations: 8.375 kB / 0.7086 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.1602, allocations: 12.31 kB / 0.7086 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.1604, allocations: 138.9 kB / 0.7087 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1604, allocations: 0 / 0.7087 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1604, allocations: 0 / 0.7087 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.1604, allocations: 4 kB / 0.7087 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.041e-05/0.1605, allocations: 15.98 kB / 0.7087 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.1606, allocations: 113.3 kB / 0.7088 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.1607, allocations: 50.5 kB / 0.7089 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.711e-05/0.1608, allocations: 8.859 kB / 0.7089 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000563/0.1613, allocations: 254 kB / 0.7091 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.1614, allocations: 34.56 kB / 0.7092 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1614, allocations: 0 / 0.7092 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0005565/0.1619, allocations: 225.1 kB / 0.7094 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.162, allocations: 55.41 kB / 0.7094 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.936e-05/0.162, allocations: 97.84 kB / 0.7095 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.1621, allocations: 33.7 kB / 0.7096 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.1621, allocations: 88.03 kB / 0.7096 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.1622, allocations: 27.75 kB / 0.7097 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.1622, allocations: 29.7 kB / 0.7097 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1623, allocations: 314.8 kB / 0.71 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.942e-05/0.1624, allocations: 16.42 kB / 0.71 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/0.1624, allocations: 54.12 kB / 0.7101 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.737e-05/0.1625, allocations: 77.28 kB / 0.7101 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1625, allocations: 4 kB / 0.7101 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001506/0.1627, allocations: 97.48 kB / 0.7102 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1627, allocations: 8 kB / 0.7102 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1627, allocations: 3.938 kB / 0.7103 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1627, allocations: 4 kB / 0.7103 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.832e-05/0.1628, allocations: 20.11 kB / 0.7103 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1628, allocations: 4 kB / 0.7103 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.918e-05/0.1628, allocations: 8 kB / 0.7103 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.1628, allocations: 4 kB / 0.7103 GB, free: 9.414 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 9.18e-05/0.1629, allocations: 121.7 kB / 0.7104 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.163, allocations: 0 / 0.7104 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.163, allocations: 16.05 kB / 0.7104 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.163, allocations: 0 / 0.7104 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.163, allocations: 0 / 0.7104 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.163, allocations: 3.938 kB / 0.7104 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.1632, allocations: 125.3 kB / 0.7105 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1632, allocations: 4 kB / 0.7105 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.187e-05/0.1633, allocations: 12 kB / 0.7106 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1633, allocations: 0 / 0.7106 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1633, allocations: 11.98 kB / 0.7106 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1633, allocations: 0 / 0.7106 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1633, allocations: 0 / 0.7106 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.1635, allocations: 175.4 kB / 0.7107 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.1635, allocations: 4.031 kB / 0.7107 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.1636, allocations: 4 kB / 0.7107 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.937e-05/0.1637, allocations: 0 / 0.7107 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.1637, allocations: 7.984 kB / 0.7108 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.1637, allocations: 8 kB / 0.7108 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.771e-05/0.1637, allocations: 79.28 kB / 0.7108 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1637, allocations: 0 / 0.7108 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002348/0.164, allocations: 16 kB / 0.7109 GB, free: 8.77 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001214/0.1641, allocations: 95.23 kB / 0.7109 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.1642, allocations: 51.78 kB / 0.711 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1642, allocations: 4.25 kB / 0.711 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.277e-05/0.1642, allocations: 15.94 kB / 0.711 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.1645, allocations: 8 kB / 0.711 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.1652, allocations: 364.7 kB / 0.7114 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.198e-05/0.1652, allocations: 67.33 kB / 0.7114 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.1652, allocations: 11.44 kB / 0.7114 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1652, allocations: 0 / 0.7114 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of Templates: time 0.002227/0.1675, allocations: 0.7892 MB / 0.7122 GB, free: 7.32 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.552263407036662] Failed to read output from testmodel.py, exit status != 0: 0.17466021282598376 0.18987993 0.02730317 Calling exit ...