Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Media.Examples.WaterDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002432/0.002437, allocations: 353.9 kB / 15.94 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.38/1.38, allocations: 165.9 MB / 182.5 MB, free: 5.918 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.258/4.258, allocations: 410.7 MB / 0.5995 GB, free: 2.102 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001791/0.001791, allocations: 176.7 kB / 0.6662 GB, free: 13.96 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000974/0.0009743, allocations: 12 kB / 0.7423 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3941, allocations: 67.45 MB / 0.8081 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.00128/0.3954, allocations: 0.9656 MB / 0.8091 GB, free: 245 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003947/0.3994, allocations: 3.056 MB / 0.8121 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.226e-05/0.3995, allocations: 0 / 0.8121 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.3995, allocations: 3.094 kB / 0.8121 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.091e-05/0.3995, allocations: 9.281 kB / 0.8121 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.4, allocations: 81.88 kB / 0.8121 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.75e-05/0.4001, allocations: 34.67 kB / 0.8122 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.9e-05/0.4001, allocations: 2.078 kB / 0.8122 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.812e-05/0.4002, allocations: 15.42 kB / 0.8122 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.4003, allocations: 22.33 kB / 0.8122 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.4003, allocations: 3.094 kB / 0.8122 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002304/0.4005, allocations: 51.7 kB / 0.8123 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.4006, allocations: 12.81 kB / 0.8123 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.4006, allocations: 30.08 kB / 0.8123 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.4007, allocations: 37.55 kB / 0.8123 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.355e-06/0.4007, allocations: 0 / 0.8123 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.825e-06/0.4008, allocations: 0 / 0.8123 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.328e-06/0.4008, allocations: 1.906 kB / 0.8124 GB, free: 243.1 MB / 0.5886 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.0003125/0.4011, allocations: 341.6 kB / 0.8127 GB, free: 242.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.4011, allocations: 8.875 kB / 0.8127 GB, free: 242.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.4013, allocations: 4.922 kB / 0.8127 GB, free: 242.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.124e-05/0.4013, allocations: 164.4 kB / 0.8128 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.4014, allocations: 5.375 kB / 0.8129 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.4014, allocations: 14.05 kB / 0.8129 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.4016, allocations: 55.2 kB / 0.8129 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.718e-06/0.4016, allocations: 0.625 kB / 0.8129 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.4016, allocations: 0.7031 kB / 0.8129 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.4016, allocations: 1.906 kB / 0.8129 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.116e-05/0.4017, allocations: 16.44 kB / 0.8129 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.4019, allocations: 167 kB / 0.8131 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.402, allocations: 58.64 kB / 0.8132 GB, free: 242.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/0.402, allocations: 17.89 kB / 0.8132 GB, free: 242.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006546/0.4027, allocations: 0.598 MB / 0.8138 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.4027, allocations: 33.22 kB / 0.8138 GB, free: 241.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 2.27e-06/0.4027, allocations: 0 / 0.8138 GB, free: 241.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0005978/0.4034, allocations: 296.2 kB / 0.8141 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.4034, allocations: 53.53 kB / 0.8141 GB, free: 241.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.873e-05/0.4035, allocations: 100.6 kB / 0.8142 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.4035, allocations: 27.08 kB / 0.8142 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.4035, allocations: 98.28 kB / 0.8143 GB, free: 241 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.4036, allocations: 25.59 kB / 0.8144 GB, free: 241 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-06/0.4036, allocations: 4 kB / 0.8144 GB, free: 241 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.033e-05/0.4036, allocations: 322.8 kB / 0.8147 GB, free: 240.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.556e-05/0.4037, allocations: 14.27 kB / 0.8147 GB, free: 240.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.874e-05/0.4038, allocations: 54.66 kB / 0.8147 GB, free: 240.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.37e-05/0.4038, allocations: 18.3 kB / 0.8148 GB, free: 240.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.619e-06/0.4038, allocations: 1.375 kB / 0.8148 GB, free: 240.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001794/0.404, allocations: 94.91 kB / 0.8148 GB, free: 240.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4041, allocations: 5.5 kB / 0.8148 GB, free: 240.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.82e-06/0.4041, allocations: 1.375 kB / 0.8149 GB, free: 240.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.4041, allocations: 4.109 kB / 0.8149 GB, free: 240.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.4042, allocations: 22.31 kB / 0.8149 GB, free: 240.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.65e-06/0.4042, allocations: 3.984 kB / 0.8149 GB, free: 240.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.024e-05/0.4043, allocations: 2.281 kB / 0.8149 GB, free: 240.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.4043, allocations: 4.828 kB / 0.8149 GB, free: 240.5 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.58e-05/0.4044, allocations: 123.6 kB / 0.815 GB, free: 240.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.4044, allocations: 9.281 kB / 0.815 GB, free: 240.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.4045, allocations: 14.92 kB / 0.815 GB, free: 240.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.389e-06/0.4045, allocations: 0 / 0.815 GB, free: 240.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.523e-06/0.4045, allocations: 3.969 kB / 0.815 GB, free: 240.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.36e-06/0.4045, allocations: 0 / 0.815 GB, free: 240.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.4048, allocations: 182 kB / 0.8152 GB, free: 240.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.477e-06/0.4048, allocations: 0 / 0.8152 GB, free: 240.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.4049, allocations: 14.67 kB / 0.8152 GB, free: 240.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.706e-06/0.4049, allocations: 1.375 kB / 0.8152 GB, free: 240.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.405, allocations: 3.703 kB / 0.8152 GB, free: 240.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.339e-06/0.405, allocations: 0 / 0.8152 GB, free: 240.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.38e-06/0.405, allocations: 1.25 kB / 0.8152 GB, free: 240.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.4052, allocations: 176.5 kB / 0.8154 GB, free: 240 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.4052, allocations: 86 kB / 0.8155 GB, free: 239.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.4053, allocations: 4.938 kB / 0.8155 GB, free: 239.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.4054, allocations: 4.266 kB / 0.8155 GB, free: 239.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.4055, allocations: 10.48 kB / 0.8155 GB, free: 239.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.4055, allocations: 2.25 kB / 0.8155 GB, free: 239.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.895e-05/0.4055, allocations: 85.94 kB / 0.8156 GB, free: 239.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.78e-07/0.4055, allocations: 2.438 kB / 0.8156 GB, free: 239.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00033/0.4059, allocations: 10.88 kB / 0.8156 GB, free: 239.8 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001165/0.406, allocations: 103.1 kB / 0.8157 GB, free: 239.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.4062, allocations: 38.5 kB / 0.8157 GB, free: 239.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.052e-06/0.4062, allocations: 1.031 kB / 0.8157 GB, free: 239.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.653e-05/0.4062, allocations: 21.11 kB / 0.8157 GB, free: 239.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.4066, allocations: 12.77 kB / 0.8158 GB, free: 239.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007007/0.4073, allocations: 386.1 kB / 0.8161 GB, free: 239.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.4074, allocations: 0.6871 MB / 0.8168 GB, free: 238.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.287e-05/0.4075, allocations: 6.031 kB / 0.8168 GB, free: 238.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.4076, allocations: 11.5 kB / 0.8168 GB, free: 238.9 MB / 0.5886 GB Notification: Performance of SimCode: time 1.601e-06/0.4076, allocations: 3.406 kB / 0.8168 GB, free: 238.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.003298/0.4109, allocations: 0.5626 MB / 0.8174 GB, free: 238.8 MB / 0.5886 GB