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.001444/0.001444, allocations: 102.1 kB / 16.35 MB, free: 5.828 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.001641/0.001641, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8032/0.8032, allocations: 132.2 MB / 423.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.89 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.347, allocations: 80.18 MB / 0.5815 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002052/0.349, allocations: 1.256 MB / 0.5827 GB, free: 26.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002715/0.3518, allocations: 3.259 MB / 0.5859 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.651e-05/0.3518, allocations: 1.188 kB / 0.5859 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.3518, allocations: 3.938 kB / 0.5859 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.256e-05/0.3519, allocations: 5.547 kB / 0.5859 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004877/0.3524, allocations: 113.5 kB / 0.586 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.067e-05/0.3525, allocations: 45.42 kB / 0.586 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.295e-05/0.3525, allocations: 2.438 kB / 0.586 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.825e-05/0.3526, allocations: 16.77 kB / 0.5861 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.614e-05/0.3526, allocations: 14.77 kB / 0.5861 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.3526, allocations: 5.25 kB / 0.5861 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.3529, allocations: 77.84 kB / 0.5862 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.3529, allocations: 14.34 kB / 0.5862 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.3529, allocations: 14.88 kB / 0.5862 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.3531, allocations: 70.94 kB / 0.5862 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3531, allocations: 1.375 kB / 0.5863 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3531, allocations: 0.7188 kB / 0.5863 GB, free: 23.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.3531, allocations: 0 / 0.5863 GB, free: 23.75 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.0003117/0.3534, allocations: 347 kB / 0.5866 GB, free: 23.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3535, allocations: 15.73 kB / 0.5866 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.343e-05/0.3536, allocations: 4.344 kB / 0.5866 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.858e-05/0.3536, allocations: 161.7 kB / 0.5868 GB, free: 23.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3537, allocations: 2.438 kB / 0.5868 GB, free: 23.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.3537, allocations: 7.812 kB / 0.5868 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.3538, allocations: 63.05 kB / 0.5868 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.3538, allocations: 0.875 kB / 0.5868 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3538, allocations: 1.375 kB / 0.5868 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3539, allocations: 5.484 kB / 0.5868 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.897e-05/0.3539, allocations: 18.36 kB / 0.5869 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.354, allocations: 165.7 kB / 0.587 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.267e-05/0.3541, allocations: 53.59 kB / 0.5871 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/0.3542, allocations: 17.41 kB / 0.5871 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005202/0.3547, allocations: 0.5984 MB / 0.5877 GB, free: 22.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/0.3547, allocations: 32.41 kB / 0.5877 GB, free: 22.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3547, allocations: 0.8125 kB / 0.5877 GB, free: 22.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004681/0.3552, allocations: 296.9 kB / 0.588 GB, free: 21.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.911e-05/0.3552, allocations: 52.72 kB / 0.588 GB, free: 21.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.734e-05/0.3553, allocations: 102 kB / 0.5881 GB, free: 21.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.3553, allocations: 28.02 kB / 0.5881 GB, free: 21.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.519e-05/0.3553, allocations: 89.52 kB / 0.5882 GB, free: 21.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.3553, allocations: 32.61 kB / 0.5883 GB, free: 21.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.3554, allocations: 21.81 kB / 0.5883 GB, free: 21.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.708e-05/0.3554, allocations: 323.9 kB / 0.5886 GB, free: 21.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-05/0.3555, allocations: 16.53 kB / 0.5886 GB, free: 21.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.926e-05/0.3555, allocations: 54.25 kB / 0.5887 GB, free: 21.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.143e-05/0.3556, allocations: 72.7 kB / 0.5887 GB, free: 21.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3556, allocations: 0.8438 kB / 0.5887 GB, free: 21.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001185/0.3557, allocations: 100.5 kB / 0.5888 GB, free: 21.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3557, allocations: 5.281 kB / 0.5888 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3557, allocations: 2.094 kB / 0.5888 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3558, allocations: 2.531 kB / 0.5888 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.589e-05/0.3558, allocations: 25.88 kB / 0.5889 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3559, allocations: 1.125 kB / 0.5889 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.777e-05/0.3559, allocations: 8.844 kB / 0.5889 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3559, allocations: 11.59 kB / 0.5889 GB, free: 21 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.713e-05/0.356, allocations: 116.7 kB / 0.589 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.356, allocations: 2.875 kB / 0.589 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.356, allocations: 10.5 kB / 0.589 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.356, allocations: 1.375 kB / 0.589 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.356, allocations: 0 / 0.589 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.356, allocations: 4.719 kB / 0.589 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.3563, allocations: 174.3 kB / 0.5892 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3563, allocations: 2.281 kB / 0.5892 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-05/0.3564, allocations: 21.64 kB / 0.5892 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3564, allocations: 3.984 kB / 0.5892 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.3564, allocations: 1.156 kB / 0.5892 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3564, allocations: 80 / 0.5892 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3564, allocations: 5.266 kB / 0.5892 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.3565, allocations: 182.1 kB / 0.5894 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.3566, allocations: 79.27 kB / 0.5895 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.3566, allocations: 1.125 kB / 0.5895 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3567, allocations: 4.781 kB / 0.5895 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.3567, allocations: 7.047 kB / 0.5895 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.3567, allocations: 9.281 kB / 0.5895 GB, free: 20.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.783e-05/0.3568, allocations: 82.12 kB / 0.5896 GB, free: 20.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3568, allocations: 1.562 kB / 0.5896 GB, free: 20.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.357, allocations: 13.91 kB / 0.5896 GB, free: 20.3 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.648e-05/0.3571, allocations: 105.9 kB / 0.5897 GB, free: 20.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.3572, allocations: 41.67 kB / 0.5897 GB, free: 20.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3572, allocations: 4.562 kB / 0.5897 GB, free: 20.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.178e-05/0.3573, allocations: 10.22 kB / 0.5897 GB, free: 20.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.3576, allocations: 11.72 kB / 0.5897 GB, free: 20.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.3581, allocations: 330.6 kB / 0.5901 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.309e-05/0.3582, allocations: 0.6863 MB / 0.5907 GB, free: 19.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.203e-05/0.3582, allocations: 7.062 kB / 0.5907 GB, free: 19.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.162e-05/0.3582, allocations: 11.91 kB / 0.5907 GB, free: 19.25 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3582, allocations: 0 / 0.5907 GB, free: 19.25 MB / 446.1 MB Notification: Performance of Templates: time 0.002534/0.3608, allocations: 0.61 MB / 0.5913 GB, free: 18.94 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)