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.001299/0.0013, allocations: 107.9 kB / 16.41 MB, free: 5.98 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.001263/0.001263, allocations: 194.3 kB / 17.35 MB, free: 5.574 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7803/0.7803, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 69.86 kB / 0.5862 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1505, allocations: 80.93 MB / 0.6653 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002336/0.1529, allocations: 1.257 MB / 0.6665 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003849/0.1567, allocations: 3.259 MB / 0.6697 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.132e-05/0.1568, allocations: 7.875 kB / 0.6697 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.1568, allocations: 7.938 kB / 0.6697 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.263e-05/0.1569, allocations: 0 / 0.6697 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005441/0.1574, allocations: 107.5 kB / 0.6698 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.083e-05/0.1575, allocations: 39.91 kB / 0.6698 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.1576, allocations: 3.984 kB / 0.6698 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.544e-05/0.1576, allocations: 16 kB / 0.6698 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.471e-05/0.1577, allocations: 15.91 kB / 0.6699 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.1577, allocations: 4 kB / 0.6699 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.158, allocations: 83.75 kB / 0.6699 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.158, allocations: 11.97 kB / 0.67 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.158, allocations: 11.94 kB / 0.67 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.1582, allocations: 75.78 kB / 0.67 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1583, allocations: 0 / 0.67 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1583, allocations: 4 kB / 0.67 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.1583, allocations: 0 / 0.67 GB, free: 0.9258 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.0004161/0.1587, allocations: 343.6 kB / 0.6704 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1587, allocations: 9.109 kB / 0.6704 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.1588, allocations: 4.938 kB / 0.6704 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.159, allocations: 172.2 kB / 0.6706 GB, free: 332 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.159, allocations: 4.375 kB / 0.6706 GB, free: 328 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.159, allocations: 4.375 kB / 0.6706 GB, free: 324 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.1591, allocations: 65.73 kB / 0.6706 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1592, allocations: 3.984 kB / 0.6706 GB, free: 248 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1592, allocations: 3.938 kB / 0.6706 GB, free: 244 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1592, allocations: 0 / 0.6706 GB, free: 244 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.351e-05/0.1593, allocations: 19.98 kB / 0.6706 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.1594, allocations: 165.7 kB / 0.6708 GB, free: 8 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.1595, allocations: 50.62 kB / 0.6709 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.047e-05/0.1596, allocations: 20.95 kB / 0.6709 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007045/0.1603, allocations: 0.5985 MB / 0.6715 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.1603, allocations: 34.56 kB / 0.6715 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.1603, allocations: 0 / 0.6715 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.000616/0.161, allocations: 294.2 kB / 0.6718 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.161, allocations: 59.41 kB / 0.6718 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.267e-05/0.1611, allocations: 101.8 kB / 0.6719 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1611, allocations: 29.7 kB / 0.672 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.1612, allocations: 88.11 kB / 0.672 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.1612, allocations: 23.66 kB / 0.6721 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.1612, allocations: 29.61 kB / 0.6721 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1614, allocations: 318.8 kB / 0.6724 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.21e-05/0.1614, allocations: 23.92 kB / 0.6724 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.363e-05/0.1615, allocations: 53.08 kB / 0.6725 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.533e-05/0.1616, allocations: 73.09 kB / 0.6725 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1616, allocations: 0 / 0.6725 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001445/0.1617, allocations: 93.98 kB / 0.6726 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1617, allocations: 4 kB / 0.6726 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1617, allocations: 7.938 kB / 0.6726 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1618, allocations: 0 / 0.6726 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.833e-05/0.1618, allocations: 27.92 kB / 0.6727 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1619, allocations: 4 kB / 0.6727 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.1619, allocations: 12.06 kB / 0.6727 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.1619, allocations: 8 kB / 0.6727 GB, free: 13.81 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.405e-05/0.162, allocations: 109.8 kB / 0.6728 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.162, allocations: 4 kB / 0.6728 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.1621, allocations: 12.23 kB / 0.6728 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1621, allocations: 0 / 0.6728 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1621, allocations: 4 kB / 0.6728 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1621, allocations: 7.922 kB / 0.6728 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.1623, allocations: 169.7 kB / 0.673 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1623, allocations: 4 kB / 0.673 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.528e-05/0.1624, allocations: 15.94 kB / 0.673 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1624, allocations: 0 / 0.673 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1625, allocations: 4 kB / 0.673 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.259e-05/0.1625, allocations: 7.984 kB / 0.673 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1625, allocations: 0 / 0.673 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.1627, allocations: 171.4 kB / 0.6732 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/0.1628, allocations: 89.05 kB / 0.6733 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.1628, allocations: 0 / 0.6733 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1629, allocations: 4 kB / 0.6733 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.1629, allocations: 7.984 kB / 0.6733 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.1629, allocations: 11.94 kB / 0.6733 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.163, allocations: 75.28 kB / 0.6734 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.163, allocations: 3.938 kB / 0.6734 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002418/0.1632, allocations: 16 kB / 0.6734 GB, free: 13.02 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.1633, allocations: 100.6 kB / 0.6735 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.1635, allocations: 43.92 kB / 0.6735 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1635, allocations: 0 / 0.6735 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.63e-05/0.1635, allocations: 15.98 kB / 0.6735 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.1638, allocations: 11.94 kB / 0.6735 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005865/0.1644, allocations: 344.4 kB / 0.6739 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.1647, allocations: 0.6884 MB / 0.6745 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.1647, allocations: 15.44 kB / 0.6746 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.1647, allocations: 3.938 kB / 0.6746 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of Templates: time 0.002228/0.1669, allocations: 0.7773 MB / 0.6753 GB, free: 10.95 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)