Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008732/0.0008735, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006285/0.006285, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.489/1.489, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.058/3.058, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.0003781, allocations: 10.78 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.396, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001394/0.3974, allocations: 0.992 MB / 1.075 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00372/0.4012, allocations: 3.198 MB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.047e-05/0.4012, allocations: 0 / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.4012, allocations: 4 kB / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.702e-05/0.4013, allocations: 7.922 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.4018, allocations: 95.61 kB / 1.078 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.137e-05/0.4019, allocations: 35.91 kB / 1.078 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.4019, allocations: 4 kB / 1.078 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.375e-05/0.402, allocations: 19.92 kB / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.4021, allocations: 11.98 kB / 1.078 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.4021, allocations: 3.938 kB / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.4023, allocations: 79.8 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.836e-05/0.4023, allocations: 11.92 kB / 1.078 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.4024, allocations: 41.64 kB / 1.079 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.4025, allocations: 68.19 kB / 1.079 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4026, allocations: 0 / 1.079 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4026, allocations: 0 / 1.079 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.4026, allocations: 4 kB / 1.079 GB, free: 2.957 MB / 0.8262 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.0003909/0.403, allocations: 331.5 kB / 1.079 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.403, allocations: 12.03 kB / 1.079 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.268e-05/0.4031, allocations: 8.844 kB / 1.079 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.4032, allocations: 168.3 kB / 1.079 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.4033, allocations: 8.312 kB / 1.079 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.4033, allocations: 8.375 kB / 1.079 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.4034, allocations: 53.8 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.4034, allocations: 3.938 kB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.4035, allocations: 8 kB / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4035, allocations: 0 / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.413e-05/0.4035, allocations: 11.98 kB / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.4037, allocations: 169.6 kB / 1.079 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.4038, allocations: 58.5 kB / 1.079 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.977e-05/0.4039, allocations: 16.86 kB / 1.079 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007289/0.4046, allocations: 0.5946 MB / 1.08 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.4046, allocations: 34.56 kB / 1.08 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.4047, allocations: 0 / 1.08 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000591/0.4053, allocations: 302.5 kB / 1.08 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.4053, allocations: 55.41 kB / 1.08 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.718e-05/0.4054, allocations: 101.8 kB / 1.08 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.4054, allocations: 29.7 kB / 1.08 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.4054, allocations: 84.05 kB / 1.081 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.4055, allocations: 35.48 kB / 1.081 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.4055, allocations: 17.72 kB / 1.081 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.4056, allocations: 318.8 kB / 1.081 GB, free: 200 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.846e-05/0.4056, allocations: 19.92 kB / 1.081 GB, free: 180 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.779e-05/0.4057, allocations: 53.14 kB / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.58e-05/0.4058, allocations: 73.09 kB / 1.081 GB, free: 16 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4058, allocations: 0 / 1.081 GB, free: 16 kB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001447/0.406, allocations: 89.66 kB / 1.081 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.406, allocations: 4 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.406, allocations: 4 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.406, allocations: 0 / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.084e-05/0.4061, allocations: 36.05 kB / 1.081 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.4061, allocations: 0 / 1.081 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.644e-05/0.4062, allocations: 7.938 kB / 1.081 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.4062, allocations: 4.438 kB / 1.081 GB, free: 15.86 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.426e-05/0.4063, allocations: 109.8 kB / 1.081 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.4063, allocations: 7.906 kB / 1.081 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.4063, allocations: 11.95 kB / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.4063, allocations: 0 / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4063, allocations: 4 kB / 1.081 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4064, allocations: 15.88 kB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.4066, allocations: 173.7 kB / 1.082 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.4066, allocations: 0 / 1.082 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.039e-05/0.4067, allocations: 12 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4067, allocations: 0 / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.4067, allocations: 0 / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.4067, allocations: 11.92 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4067, allocations: 0 / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.4069, allocations: 167.5 kB / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.407, allocations: 93.05 kB / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.407, allocations: 0 / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.4071, allocations: 4 kB / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.4071, allocations: 11.92 kB / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.4071, allocations: 7.938 kB / 1.082 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.4e-05/0.4072, allocations: 75.66 kB / 1.082 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4072, allocations: 3.828 kB / 1.082 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002298/0.4074, allocations: 16 kB / 1.082 GB, free: 15.06 MB / 0.8419 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 (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.0001356/0.4075, allocations: 103.4 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.4077, allocations: 43.92 kB / 1.082 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.4077, allocations: 0 / 1.082 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.698e-05/0.4077, allocations: 23.92 kB / 1.082 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.408, allocations: 4 kB / 1.082 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005932/0.4086, allocations: 383.1 kB / 1.082 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.4088, allocations: 0.6848 MB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.163e-05/0.4089, allocations: 11.78 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.4089, allocations: 11.44 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.4089, allocations: 0 / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of Templates: time 0.002948/0.4119, allocations: 0.6086 MB / 1.084 GB, free: 13.14 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_1.6_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)