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.0009795/0.0009796, allocations: 103.1 kB / 16.35 MB, free: 6.289 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.0009944/0.0009944, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.864/0.864, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.89 kB / 0.5067 GB, free: 7.703 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3434, allocations: 80.9 MB / 0.5857 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.00214/0.3456, allocations: 1.259 MB / 0.587 GB, free: 24.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003078/0.3487, allocations: 3.248 MB / 0.5901 GB, free: 21.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.3488, allocations: 0 / 0.5901 GB, free: 21.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.3488, allocations: 1.906 kB / 0.5901 GB, free: 21.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.208e-05/0.3489, allocations: 7.922 kB / 0.5902 GB, free: 21.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.3494, allocations: 116.5 kB / 0.5903 GB, free: 21.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.26e-05/0.3495, allocations: 38.11 kB / 0.5903 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.3495, allocations: 5.234 kB / 0.5903 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/0.3496, allocations: 18.86 kB / 0.5903 GB, free: 21.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.576e-05/0.3497, allocations: 19.05 kB / 0.5903 GB, free: 21.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.3497, allocations: 1.125 kB / 0.5903 GB, free: 21.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.3499, allocations: 81.52 kB / 0.5904 GB, free: 21.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.3499, allocations: 6.422 kB / 0.5904 GB, free: 21.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.35, allocations: 19.64 kB / 0.5904 GB, free: 21.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.3502, allocations: 66.33 kB / 0.5905 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3502, allocations: 2.719 kB / 0.5905 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3502, allocations: 0 / 0.5905 GB, free: 21.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.3502, allocations: 0 / 0.5905 GB, free: 21.52 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.000365/0.3506, allocations: 357.7 kB / 0.5909 GB, free: 21.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3506, allocations: 10.8 kB / 0.5909 GB, free: 21.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.3507, allocations: 9.172 kB / 0.5909 GB, free: 21.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.319e-05/0.3508, allocations: 162.4 kB / 0.591 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.3508, allocations: 7.422 kB / 0.591 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.3509, allocations: 12.58 kB / 0.591 GB, free: 20.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.351, allocations: 53.83 kB / 0.5911 GB, free: 20.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.351, allocations: 0 / 0.5911 GB, free: 20.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.351, allocations: 1.281 kB / 0.5911 GB, free: 20.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.351, allocations: 0.7188 kB / 0.5911 GB, free: 20.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.893e-05/0.3511, allocations: 22.55 kB / 0.5911 GB, free: 20.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.3513, allocations: 170.7 kB / 0.5913 GB, free: 20.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.72e-05/0.3513, allocations: 55.98 kB / 0.5913 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/0.3514, allocations: 11.77 kB / 0.5913 GB, free: 20.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006177/0.352, allocations: 0.6043 MB / 0.5919 GB, free: 19.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.352, allocations: 31.19 kB / 0.592 GB, free: 19.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3521, allocations: 0.9688 kB / 0.592 GB, free: 19.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005412/0.3526, allocations: 298.7 kB / 0.5923 GB, free: 19.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.3526, allocations: 59.97 kB / 0.5923 GB, free: 19.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.557e-05/0.3527, allocations: 98.5 kB / 0.5924 GB, free: 19.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.3527, allocations: 32.17 kB / 0.5924 GB, free: 19.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.941e-05/0.3527, allocations: 84.05 kB / 0.5925 GB, free: 19.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.3528, allocations: 27.64 kB / 0.5925 GB, free: 19.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.3528, allocations: 25.72 kB / 0.5926 GB, free: 19.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.378e-05/0.3529, allocations: 314.8 kB / 0.5929 GB, free: 18.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-05/0.3529, allocations: 17.58 kB / 0.5929 GB, free: 18.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.411e-05/0.3529, allocations: 50.64 kB / 0.5929 GB, free: 18.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.785e-05/0.353, allocations: 79.94 kB / 0.593 GB, free: 18.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.353, allocations: 4 kB / 0.593 GB, free: 18.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001134/0.3531, allocations: 95.02 kB / 0.5931 GB, free: 18.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3532, allocations: 6.5 kB / 0.5931 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3532, allocations: 4 kB / 0.5931 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3532, allocations: 1.156 kB / 0.5931 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.96e-05/0.3533, allocations: 20.27 kB / 0.5931 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3533, allocations: 7.938 kB / 0.5931 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.87e-05/0.3533, allocations: 8.906 kB / 0.5932 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.3533, allocations: 4 kB / 0.5932 GB, free: 18.55 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 6.061e-05/0.3534, allocations: 119.7 kB / 0.5933 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.3534, allocations: 7.984 kB / 0.5933 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.3535, allocations: 13.52 kB / 0.5933 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.3535, allocations: 0 / 0.5933 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.3535, allocations: 4 kB / 0.5933 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3535, allocations: 7.875 kB / 0.5933 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.3537, allocations: 175.3 kB / 0.5935 GB, free: 18.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3537, allocations: 0 / 0.5935 GB, free: 18.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.649e-05/0.3538, allocations: 12 kB / 0.5935 GB, free: 18.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3538, allocations: 0 / 0.5935 GB, free: 18.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3538, allocations: 10.86 kB / 0.5935 GB, free: 18.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3538, allocations: 0 / 0.5935 GB, free: 18.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3538, allocations: 4 kB / 0.5935 GB, free: 18.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.354, allocations: 171.3 kB / 0.5937 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/0.354, allocations: 85.14 kB / 0.5937 GB, free: 17.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.354, allocations: 0 / 0.5937 GB, free: 17.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3541, allocations: 1.781 kB / 0.5937 GB, free: 17.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.3542, allocations: 11.98 kB / 0.5938 GB, free: 17.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.3542, allocations: 7.938 kB / 0.5938 GB, free: 17.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.15e-05/0.3542, allocations: 76.53 kB / 0.5938 GB, free: 17.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3542, allocations: 0 / 0.5938 GB, free: 17.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.3545, allocations: 16 kB / 0.5938 GB, free: 17.76 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.0001127/0.3546, allocations: 100.7 kB / 0.5939 GB, free: 17.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.3547, allocations: 53.02 kB / 0.594 GB, free: 17.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3547, allocations: 0 / 0.594 GB, free: 17.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.972e-05/0.3547, allocations: 16.53 kB / 0.594 GB, free: 17.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.3551, allocations: 6.312 kB / 0.594 GB, free: 17.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000542/0.3556, allocations: 331.4 kB / 0.5943 GB, free: 17.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.3557, allocations: 0.6807 MB / 0.595 GB, free: 16.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.035e-05/0.3558, allocations: 11.98 kB / 0.595 GB, free: 16.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.19e-05/0.3558, allocations: 11.44 kB / 0.595 GB, free: 16.55 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3558, allocations: 0 / 0.595 GB, free: 16.55 MB / 446.1 MB Notification: Performance of Templates: time 0.002651/0.3585, allocations: 0.6232 MB / 0.5956 GB, free: 15.94 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)