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.001448/0.001451, allocations: 187 kB / 15.77 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7864/0.7864, allocations: 82.93 MB / 99.42 MB, free: 3.293 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.342/2.342, allocations: 205.4 MB / 325.4 MB, free: 4.281 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001578/0.001578, allocations: 89.91 kB / 393.6 MB, free: 64 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004619, allocations: 16 kB / 471.5 MB, free: 66.73 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08879/0.08928, allocations: 67.44 MB / 0.5263 GB, free: 15.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001474/0.0908, allocations: 0.961 MB / 0.5273 GB, free: 14.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004411/0.09524, allocations: 2.831 MB / 0.53 GB, free: 11.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.09532, allocations: 4 kB / 0.53 GB, free: 11.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.09535, allocations: 0 / 0.53 GB, free: 11.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.843e-05/0.09541, allocations: 7.984 kB / 0.53 GB, free: 11.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.09588, allocations: 87.7 kB / 0.5301 GB, free: 11.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.896e-05/0.09595, allocations: 19.97 kB / 0.5302 GB, free: 11.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.162e-05/0.09601, allocations: 11.92 kB / 0.5302 GB, free: 11.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.811e-05/0.09607, allocations: 15.94 kB / 0.5302 GB, free: 11.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.09615, allocations: 19.97 kB / 0.5302 GB, free: 11.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.09617, allocations: 4 kB / 0.5302 GB, free: 11.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002813/0.09646, allocations: 67.83 kB / 0.5303 GB, free: 11.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.09649, allocations: 0 / 0.5303 GB, free: 11.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.09654, allocations: 29.7 kB / 0.5303 GB, free: 11.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.09669, allocations: 48.11 kB / 0.5303 GB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.56e-06/0.0967, allocations: 0 / 0.5303 GB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.728e-06/0.09671, allocations: 0 / 0.5303 GB, free: 11.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.027e-06/0.09673, allocations: 0 / 0.5303 GB, free: 11.12 MB / 378.7 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.0004151/0.09715, allocations: 335.3 kB / 0.5307 GB, free: 10.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.09721, allocations: 12.03 kB / 0.5307 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.09733, allocations: 7.984 kB / 0.5307 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.09749, allocations: 163 kB / 0.5308 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.09752, allocations: 8 kB / 0.5308 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.09756, allocations: 11.95 kB / 0.5309 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.09771, allocations: 53.66 kB / 0.5309 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.901e-06/0.09774, allocations: 0 / 0.5309 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.09776, allocations: 4 kB / 0.5309 GB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.775e-06/0.09777, allocations: 0 / 0.5309 GB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.541e-05/0.09785, allocations: 19.92 kB / 0.5309 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.09808, allocations: 173.6 kB / 0.5311 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.09821, allocations: 46.56 kB / 0.5311 GB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008597/0.09908, allocations: 0.5868 MB / 0.5317 GB, free: 9.453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.09914, allocations: 38.56 kB / 0.5317 GB, free: 9.406 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 4.466e-06/0.09916, allocations: 3.984 kB / 0.5318 GB, free: 9.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007284/0.09989, allocations: 302.5 kB / 0.532 GB, free: 9.055 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.09996, allocations: 51.41 kB / 0.5321 GB, free: 8.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.48e-05/0.1001, allocations: 101.8 kB / 0.5322 GB, free: 8.883 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.1001, allocations: 33.7 kB / 0.5322 GB, free: 8.844 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.1002, allocations: 80.14 kB / 0.5323 GB, free: 8.762 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.1002, allocations: 35.55 kB / 0.5323 GB, free: 8.727 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-06/0.1002, allocations: 4 kB / 0.5323 GB, free: 8.723 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1004, allocations: 314.8 kB / 0.5326 GB, free: 8.406 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.674e-05/0.1005, allocations: 15.98 kB / 0.5326 GB, free: 8.391 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.487e-05/0.1005, allocations: 49.14 kB / 0.5327 GB, free: 8.324 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.338e-05/0.1006, allocations: 27.94 kB / 0.5327 GB, free: 8.297 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.917e-06/0.1006, allocations: 0 / 0.5327 GB, free: 8.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002084/0.1008, allocations: 89.55 kB / 0.5328 GB, free: 8.203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1009, allocations: 6.031 kB / 0.5328 GB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.1009, allocations: 7.938 kB / 0.5328 GB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1009, allocations: 0 / 0.5328 GB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.101, allocations: 23.98 kB / 0.5328 GB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.873e-06/0.1011, allocations: 8.125 kB / 0.5328 GB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.082e-05/0.1011, allocations: 0 / 0.5328 GB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.1012, allocations: 4 kB / 0.5329 GB, free: 8.156 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.1013, allocations: 121.7 kB / 0.533 GB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.1013, allocations: 7.906 kB / 0.533 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.1014, allocations: 7.969 kB / 0.533 GB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.144e-06/0.1014, allocations: 0 / 0.533 GB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1014, allocations: 0 / 0.533 GB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.532e-06/0.1014, allocations: 0 / 0.533 GB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.1018, allocations: 181.6 kB / 0.5332 GB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.486e-06/0.1018, allocations: 7.938 kB / 0.5332 GB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.1019, allocations: 16.42 kB / 0.5332 GB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.824e-06/0.1019, allocations: 0 / 0.5332 GB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.185e-06/0.1019, allocations: 0 / 0.5332 GB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.163e-06/0.1019, allocations: 4 kB / 0.5332 GB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.708e-06/0.102, allocations: 0 / 0.5332 GB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.1022, allocations: 183.4 kB / 0.5334 GB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/0.1023, allocations: 85.02 kB / 0.5334 GB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.1023, allocations: 8.031 kB / 0.5334 GB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.1025, allocations: 4 kB / 0.5335 GB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.1025, allocations: 4 kB / 0.5335 GB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.381e-06/0.1025, allocations: 0 / 0.5335 GB, free: 7.449 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.349e-05/0.1026, allocations: 83.64 kB / 0.5335 GB, free: 7.367 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.04e-07/0.1026, allocations: 0 / 0.5335 GB, free: 7.367 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003309/0.103, allocations: 12 kB / 0.5335 GB, free: 7.355 MB / 378.7 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 (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.0001461/0.1031, allocations: 107.4 kB / 0.5336 GB, free: 7.242 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.1033, allocations: 39.92 kB / 0.5337 GB, free: 7.203 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.232e-06/0.1033, allocations: 0 / 0.5337 GB, free: 7.203 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.914e-05/0.1033, allocations: 19.94 kB / 0.5337 GB, free: 7.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.1036, allocations: 11.94 kB / 0.5337 GB, free: 7.172 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000765/0.1044, allocations: 379.1 kB / 0.5341 GB, free: 6.777 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.1048, allocations: 0.6926 MB / 0.5348 GB, free: 6.059 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.661e-05/0.1048, allocations: 3.938 kB / 0.5348 GB, free: 6.055 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.1049, allocations: 15.44 kB / 0.5348 GB, free: 6.039 MB / 378.7 MB Notification: Performance of SimCode: time 4.168e-06/0.1049, allocations: 0 / 0.5348 GB, free: 6.039 MB / 378.7 MB Notification: Performance of Templates: time 0.00327/0.1082, allocations: 0.5715 MB / 0.5353 GB, free: 5.469 MB / 378.7 MB