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.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/package.mo", uses=false) 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: translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008394/0.0008398, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.0009752/0.0009751, allocations: 181.9 kB / 16.28 MB, free: 6.656 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: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7539/0.7539, allocations: 132.4 MB / 423.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.0003249, allocations: 8 kB / 0.504 GB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.458/0.4583, allocations: 81.57 MB / 0.5837 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001249/0.4596, allocations: 0.9876 MB / 0.5846 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003285/0.4629, allocations: 3.204 MB / 0.5878 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.463, allocations: 1.25 kB / 0.5878 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.951e-05/0.463, allocations: 0.7031 kB / 0.5878 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.426e-05/0.4631, allocations: 2.078 kB / 0.5878 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.4635, allocations: 103.3 kB / 0.5879 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.4636, allocations: 37.27 kB / 0.5879 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.4636, allocations: 2.938 kB / 0.5879 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/0.4637, allocations: 19.53 kB / 0.5879 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.179e-05/0.4637, allocations: 18.67 kB / 0.5879 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.4638, allocations: 1.312 kB / 0.5879 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002407/0.464, allocations: 72.67 kB / 0.588 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.464, allocations: 9.141 kB / 0.588 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.4641, allocations: 45.56 kB / 0.5881 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.4643, allocations: 70.8 kB / 0.5881 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4643, allocations: 1.984 kB / 0.5881 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.4643, allocations: 0 / 0.5881 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.4643, allocations: 0 / 0.5881 GB, free: 0.7422 MB / 430.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.0003265/0.4646, allocations: 340.7 kB / 0.5885 GB, free: 388 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.4647, allocations: 8.219 kB / 0.5885 GB, free: 388 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.4648, allocations: 5.141 kB / 0.5885 GB, free: 388 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.273e-05/0.4649, allocations: 166.5 kB / 0.5886 GB, free: 184 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.4649, allocations: 7 kB / 0.5886 GB, free: 180 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.4649, allocations: 3.641 kB / 0.5886 GB, free: 180 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.4651, allocations: 66.44 kB / 0.5887 GB, free: 128 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.4651, allocations: 1.219 kB / 0.5887 GB, free: 128 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.4651, allocations: 0 / 0.5887 GB, free: 128 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.4651, allocations: 1.156 kB / 0.5887 GB, free: 128 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.632e-05/0.4652, allocations: 19.31 kB / 0.5887 GB, free: 124 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.4654, allocations: 166.7 kB / 0.5889 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.4655, allocations: 54.7 kB / 0.5889 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.4655, allocations: 16.66 kB / 0.5889 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007458/0.4663, allocations: 0.5978 MB / 0.5895 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.4663, allocations: 40.25 kB / 0.5896 GB, free: 15.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.4663, allocations: 0 / 0.5896 GB, free: 15.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005909/0.4669, allocations: 300.4 kB / 0.5899 GB, free: 14.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.467, allocations: 52.88 kB / 0.5899 GB, free: 14.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.239e-05/0.4671, allocations: 100.2 kB / 0.59 GB, free: 14.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.4671, allocations: 30.23 kB / 0.59 GB, free: 14.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.4671, allocations: 86.41 kB / 0.5901 GB, free: 14.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.4672, allocations: 24.72 kB / 0.5901 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.4672, allocations: 22.17 kB / 0.5902 GB, free: 14.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4673, allocations: 322.2 kB / 0.5905 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.927e-05/0.4674, allocations: 10.8 kB / 0.5905 GB, free: 14.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.069e-05/0.4674, allocations: 52.81 kB / 0.5905 GB, free: 14.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.4675, allocations: 80.17 kB / 0.5906 GB, free: 14.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4675, allocations: 1 kB / 0.5906 GB, free: 14.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001547/0.4677, allocations: 97.81 kB / 0.5907 GB, free: 14.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.4677, allocations: 6.984 kB / 0.5907 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4677, allocations: 1.594 kB / 0.5907 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.4678, allocations: 2.562 kB / 0.5907 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/0.4678, allocations: 26.34 kB / 0.5907 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.4679, allocations: 2.75 kB / 0.5907 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.951e-05/0.4679, allocations: 9.75 kB / 0.5907 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.4679, allocations: 4.297 kB / 0.5907 GB, free: 14.05 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 7.832e-05/0.468, allocations: 112.7 kB / 0.5909 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.468, allocations: 4.266 kB / 0.5909 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.4681, allocations: 8.672 kB / 0.5909 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4681, allocations: 1.344 kB / 0.5909 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4681, allocations: 4 kB / 0.5909 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4681, allocations: 9.469 kB / 0.5909 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.4684, allocations: 177.3 kB / 0.591 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4684, allocations: 0.7031 kB / 0.591 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.346e-05/0.4685, allocations: 15.34 kB / 0.5911 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.4685, allocations: 1.375 kB / 0.5911 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.4685, allocations: 0 / 0.5911 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4685, allocations: 2.125 kB / 0.5911 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4685, allocations: 3.938 kB / 0.5911 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.4687, allocations: 175.6 kB / 0.5912 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.4688, allocations: 81.92 kB / 0.5913 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.4688, allocations: 6.078 kB / 0.5913 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.4689, allocations: 2.562 kB / 0.5913 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.469, allocations: 4.297 kB / 0.5913 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.469, allocations: 6.781 kB / 0.5913 GB, free: 13.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.438e-05/0.469, allocations: 82.66 kB / 0.5914 GB, free: 13.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.469, allocations: 0 / 0.5914 GB, free: 13.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.4693, allocations: 10.28 kB / 0.5914 GB, free: 13.39 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 0.0001446/0.4694, allocations: 112.6 kB / 0.5915 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.4696, allocations: 43.33 kB / 0.5916 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4696, allocations: 0 / 0.5916 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.106e-05/0.4696, allocations: 20.59 kB / 0.5916 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.4699, allocations: 8.906 kB / 0.5916 GB, free: 13.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006731/0.4706, allocations: 401.6 kB / 0.592 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.4709, allocations: 0.6829 MB / 0.5927 GB, free: 12.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.762e-05/0.471, allocations: 9.047 kB / 0.5927 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.4711, allocations: 15.62 kB / 0.5927 GB, free: 12.24 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4711, allocations: 0 / 0.5927 GB, free: 12.24 MB / 446.1 MB Notification: Performance of Templates: time 0.002892/0.474, allocations: 0.5866 MB / 0.5932 GB, free: 12.16 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.makefile (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)