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.001617/0.001617, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001813/0.001813, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8317/0.8317, allocations: 135.1 MB / 426.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 63.91 kB / 0.506 GB, free: 8.438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3476, allocations: 80.91 MB / 0.585 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002654/0.3503, allocations: 1.266 MB / 0.5862 GB, free: 24.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003253/0.3536, allocations: 3.246 MB / 0.5894 GB, free: 21.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.597e-05/0.3537, allocations: 1.375 kB / 0.5894 GB, free: 21.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.318e-05/0.3538, allocations: 3.984 kB / 0.5894 GB, free: 21.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.094e-05/0.3538, allocations: 9.234 kB / 0.5894 GB, free: 21.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.3543, allocations: 115.5 kB / 0.5895 GB, free: 21.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.426e-05/0.3544, allocations: 37.48 kB / 0.5896 GB, free: 21.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.3544, allocations: 2.625 kB / 0.5896 GB, free: 21.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.082e-05/0.3545, allocations: 21.5 kB / 0.5896 GB, free: 21.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.354e-05/0.3545, allocations: 10.59 kB / 0.5896 GB, free: 21.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.3546, allocations: 2.656 kB / 0.5896 GB, free: 21.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.3548, allocations: 81.48 kB / 0.5897 GB, free: 21.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.3548, allocations: 6.141 kB / 0.5897 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.3548, allocations: 15.59 kB / 0.5897 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.355, allocations: 77.7 kB / 0.5898 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.355, allocations: 0 / 0.5898 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.355, allocations: 0 / 0.5898 GB, free: 21.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.355, allocations: 2 kB / 0.5898 GB, free: 21.59 MB / 446.1 MB 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.0003131/0.3554, allocations: 352.8 kB / 0.5901 GB, free: 21.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.3554, allocations: 10.58 kB / 0.5901 GB, free: 21.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.589e-05/0.3555, allocations: 5 kB / 0.5901 GB, free: 21.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.507e-05/0.3556, allocations: 163 kB / 0.5903 GB, free: 21.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3556, allocations: 2.062 kB / 0.5903 GB, free: 21.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.3556, allocations: 9.594 kB / 0.5903 GB, free: 21.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.3557, allocations: 57.05 kB / 0.5903 GB, free: 20.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3558, allocations: 1.469 kB / 0.5903 GB, free: 20.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3558, allocations: 0.5625 kB / 0.5903 GB, free: 20.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.3558, allocations: 2.25 kB / 0.5903 GB, free: 20.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.042e-05/0.3558, allocations: 25.97 kB / 0.5904 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.356, allocations: 169.9 kB / 0.5905 GB, free: 20.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.642e-05/0.3561, allocations: 49.84 kB / 0.5906 GB, free: 20.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.3561, allocations: 15.88 kB / 0.5906 GB, free: 20.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005327/0.3567, allocations: 0.5988 MB / 0.5912 GB, free: 20.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.3567, allocations: 37.91 kB / 0.5912 GB, free: 19.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.3567, allocations: 1.312 kB / 0.5912 GB, free: 19.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.000493/0.3572, allocations: 300.1 kB / 0.5915 GB, free: 19.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.3572, allocations: 52.53 kB / 0.5916 GB, free: 19.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.77e-05/0.3573, allocations: 102.4 kB / 0.5917 GB, free: 19.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.3573, allocations: 31.11 kB / 0.5917 GB, free: 19.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.438e-05/0.3573, allocations: 86.67 kB / 0.5918 GB, free: 19.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.3573, allocations: 27.52 kB / 0.5918 GB, free: 19.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.3574, allocations: 25.53 kB / 0.5918 GB, free: 19.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.212e-05/0.3574, allocations: 322.4 kB / 0.5921 GB, free: 19.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.618e-05/0.3575, allocations: 11.19 kB / 0.5921 GB, free: 19.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.127e-05/0.3575, allocations: 50.92 kB / 0.5922 GB, free: 18.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.932e-05/0.3576, allocations: 87.58 kB / 0.5923 GB, free: 18.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3576, allocations: 0 / 0.5923 GB, free: 18.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001091/0.3577, allocations: 97.45 kB / 0.5924 GB, free: 18.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.3577, allocations: 4 kB / 0.5924 GB, free: 18.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3577, allocations: 0 / 0.5924 GB, free: 18.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3578, allocations: 4 kB / 0.5924 GB, free: 18.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.089e-05/0.3578, allocations: 16 kB / 0.5924 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3578, allocations: 5.125 kB / 0.5924 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.782e-05/0.3579, allocations: 7.938 kB / 0.5924 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.3579, allocations: 11.92 kB / 0.5924 GB, free: 18.74 MB / 446.1 MB 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 4.832e-05/0.358, allocations: 116 kB / 0.5925 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.358, allocations: 4 kB / 0.5925 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.358, allocations: 8.531 kB / 0.5925 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.358, allocations: 1.219 kB / 0.5925 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.358, allocations: 0 / 0.5925 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.358, allocations: 3.938 kB / 0.5925 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.3582, allocations: 173.6 kB / 0.5927 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.3582, allocations: 1.906 kB / 0.5927 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.411e-05/0.3583, allocations: 19.98 kB / 0.5927 GB, free: 18.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3583, allocations: 0 / 0.5927 GB, free: 18.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.3583, allocations: 7.938 kB / 0.5927 GB, free: 18.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3584, allocations: 0 / 0.5927 GB, free: 18.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3584, allocations: 1.406 kB / 0.5927 GB, free: 18.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.3585, allocations: 184.7 kB / 0.5929 GB, free: 18.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.68e-05/0.3585, allocations: 77.48 kB / 0.593 GB, free: 18.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.3585, allocations: 4 kB / 0.593 GB, free: 18.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.3587, allocations: 2.047 kB / 0.593 GB, free: 18.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.3587, allocations: 7.984 kB / 0.593 GB, free: 18.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.3587, allocations: 11.92 kB / 0.593 GB, free: 18.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.757e-05/0.3587, allocations: 79.28 kB / 0.5931 GB, free: 17.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3587, allocations: 0 / 0.5931 GB, free: 17.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000239/0.359, allocations: 13.03 kB / 0.5931 GB, free: 17.96 MB / 446.1 MB 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 9.713e-05/0.3591, allocations: 104.7 kB / 0.5932 GB, free: 17.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.3592, allocations: 45.27 kB / 0.5932 GB, free: 17.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.3592, allocations: 4 kB / 0.5932 GB, free: 17.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.996e-05/0.3592, allocations: 12 kB / 0.5933 GB, free: 17.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.3595, allocations: 11.16 kB / 0.5933 GB, free: 17.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005282/0.36, allocations: 361.8 kB / 0.5936 GB, free: 17.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.921e-05/0.3602, allocations: 0.6846 MB / 0.5943 GB, free: 16.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.3602, allocations: 11.44 kB / 0.5943 GB, free: 16.73 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3602, allocations: 4 kB / 0.5943 GB, free: 16.72 MB / 446.1 MB Notification: Performance of Templates: time 0.001759/0.362, allocations: 0.7771 MB / 0.595 GB, free: 15.95 MB / 446.1 MB 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)