Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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: translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 105.6 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 187 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8736/0.8736, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 65.77 kB / 0.5862 GB, free: 21.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1526, allocations: 80.92 MB / 0.6653 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002509/0.1552, allocations: 1.264 MB / 0.6665 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004023/0.1592, allocations: 3.259 MB / 0.6697 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.12e-05/0.1593, allocations: 0 / 0.6697 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.845e-05/0.1593, allocations: 3.938 kB / 0.6697 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.772e-05/0.1594, allocations: 7.922 kB / 0.6697 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.16, allocations: 103.5 kB / 0.6698 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.905e-05/0.1601, allocations: 35.92 kB / 0.6698 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.1601, allocations: 4 kB / 0.6698 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.033e-05/0.1602, allocations: 19.91 kB / 0.6698 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.858e-05/0.1602, allocations: 19.92 kB / 0.6699 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1603, allocations: 0 / 0.6699 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.1605, allocations: 83.73 kB / 0.6699 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.1605, allocations: 8 kB / 0.67 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.1606, allocations: 23.91 kB / 0.67 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.1608, allocations: 63.81 kB / 0.67 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1608, allocations: 4 kB / 0.67 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1608, allocations: 4 kB / 0.67 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.1608, allocations: 0 / 0.67 GB, free: 0.9023 MB / 0.4981 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.0004466/0.1613, allocations: 339.6 kB / 0.6704 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1613, allocations: 9.109 kB / 0.6704 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.1614, allocations: 4.938 kB / 0.6704 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.1616, allocations: 184.2 kB / 0.6706 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1616, allocations: 384 / 0.6706 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.1616, allocations: 12.31 kB / 0.6706 GB, free: 288 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.1618, allocations: 69.77 kB / 0.6706 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1618, allocations: 0 / 0.6706 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1618, allocations: 0 / 0.6706 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1618, allocations: 4 kB / 0.6706 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.288e-05/0.1619, allocations: 15.98 kB / 0.6707 GB, free: 192 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.1621, allocations: 157.7 kB / 0.6708 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.1622, allocations: 62.47 kB / 0.6709 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.381e-05/0.1622, allocations: 12.86 kB / 0.6709 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00073/0.163, allocations: 0.6026 MB / 0.6715 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.163, allocations: 34.56 kB / 0.6715 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.163, allocations: 4 kB / 0.6715 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0005918/0.1636, allocations: 294.2 kB / 0.6718 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.1637, allocations: 55.41 kB / 0.6718 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.9e-05/0.1637, allocations: 101.8 kB / 0.6719 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1638, allocations: 29.69 kB / 0.672 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.1638, allocations: 92.05 kB / 0.672 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.1638, allocations: 19.66 kB / 0.6721 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.1639, allocations: 29.61 kB / 0.6721 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.164, allocations: 322.8 kB / 0.6724 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.136e-05/0.164, allocations: 15.98 kB / 0.6724 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.096e-05/0.1641, allocations: 53.14 kB / 0.6725 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.785e-05/0.1642, allocations: 69.09 kB / 0.6725 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1642, allocations: 3.938 kB / 0.6725 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001352/0.1643, allocations: 97.55 kB / 0.6726 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1644, allocations: 4 kB / 0.6726 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1644, allocations: 0 / 0.6726 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.1644, allocations: 4 kB / 0.6726 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-05/0.1645, allocations: 23.92 kB / 0.6727 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1645, allocations: 7.938 kB / 0.6727 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.961e-05/0.1645, allocations: 3.938 kB / 0.6727 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1646, allocations: 8.125 kB / 0.6727 GB, free: 13.79 MB / 0.5137 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 7.867e-05/0.1646, allocations: 113.8 kB / 0.6728 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.1647, allocations: 3.938 kB / 0.6728 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.1647, allocations: 11.97 kB / 0.6728 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1647, allocations: 0 / 0.6728 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1647, allocations: 4.422 kB / 0.6728 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1647, allocations: 3.938 kB / 0.6728 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.165, allocations: 177.7 kB / 0.673 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.165, allocations: 4 kB / 0.673 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.477e-05/0.1651, allocations: 16 kB / 0.673 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1651, allocations: 4.281 kB / 0.673 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1651, allocations: 0 / 0.673 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1651, allocations: 0 / 0.673 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1651, allocations: 0 / 0.673 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.1653, allocations: 183.3 kB / 0.6732 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.1654, allocations: 89.05 kB / 0.6733 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.1654, allocations: 0 / 0.6733 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1655, allocations: 8 kB / 0.6733 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.1655, allocations: 4 kB / 0.6733 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.1655, allocations: 7.922 kB / 0.6733 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.511e-05/0.1656, allocations: 83.28 kB / 0.6734 GB, free: 13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1656, allocations: 0 / 0.6734 GB, free: 13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002548/0.1659, allocations: 8 kB / 0.6734 GB, free: 12.99 MB / 0.5137 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.0001284/0.166, allocations: 104.6 kB / 0.6735 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.1661, allocations: 43.92 kB / 0.6735 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.1661, allocations: 0 / 0.6735 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.592e-05/0.1662, allocations: 23.91 kB / 0.6735 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.1665, allocations: 8 kB / 0.6735 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005874/0.1671, allocations: 340.4 kB / 0.6739 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.1673, allocations: 0.6846 MB / 0.6745 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.1674, allocations: 11.44 kB / 0.6745 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1674, allocations: 4 kB / 0.6746 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of Templates: time 0.002209/0.1696, allocations: 0.785 MB / 0.6753 GB, free: 10.93 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)