Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.158/2.158, allocations: 391.2 MB / 407 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 182.4 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009847/0.0009846, allocations: 107.7 kB / 0.9329 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 50.75 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2719, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02511/0.297, allocations: 29.47 MB / 1.247 GB, free: 87.73 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01233/0.3094, allocations: 9.995 MB / 1.257 GB, free: 77.7 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002059/0.3116, allocations: 43.75 kB / 1.257 GB, free: 77.66 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001949/0.3136, allocations: 0.6046 MB / 1.257 GB, free: 77.05 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.004001/0.3176, allocations: 1.346 MB / 1.259 GB, free: 75.7 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003126/0.3207, allocations: 1.233 MB / 1.26 GB, free: 74.48 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004325/0.325, allocations: 5.05 MB / 1.265 GB, free: 69.41 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.3264, allocations: 1.146 MB / 1.266 GB, free: 68.24 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.3284, allocations: 1.311 MB / 1.267 GB, free: 66.93 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009849/0.3294, allocations: 1.058 MB / 1.268 GB, free: 65.86 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.3295, allocations: 64 kB / 1.268 GB, free: 65.8 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.3316, allocations: 1.061 MB / 1.269 GB, free: 64.74 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.3319, allocations: 346.6 kB / 1.27 GB, free: 64.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006593/0.3325, allocations: 0.7265 MB / 1.27 GB, free: 63.67 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.3348, allocations: 2.372 MB / 1.273 GB, free: 61.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3348, allocations: 0 / 1.273 GB, free: 61.29 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3348, allocations: 0 / 1.273 GB, free: 61.29 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.3348, allocations: 0 / 1.273 GB, free: 61.29 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002919/0.3378, allocations: 1.954 MB / 1.275 GB, free: 59.27 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3378, allocations: 11.98 kB / 1.275 GB, free: 59.26 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.3394, allocations: 338.8 kB / 1.275 GB, free: 58.93 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.3416, allocations: 1.355 MB / 1.276 GB, free: 57.52 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.102e-05/0.3417, allocations: 66 kB / 1.276 GB, free: 57.45 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.3418, allocations: 80 kB / 1.276 GB, free: 57.38 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.3432, allocations: 1.011 MB / 1.277 GB, free: 56.31 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.3433, allocations: 4 kB / 1.277 GB, free: 56.31 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.139e-05/0.3433, allocations: 28 kB / 1.277 GB, free: 56.28 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.3434, allocations: 16 kB / 1.277 GB, free: 56.27 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.3448, allocations: 0.7689 MB / 1.278 GB, free: 55.49 MB / 0.823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004834/0.3496, allocations: 4.992 MB / 1.283 GB, free: 50.13 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.3509, allocations: 0.6139 MB / 1.284 GB, free: 49.51 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006359/0.3515, allocations: 347.1 kB / 1.284 GB, free: 49.17 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001985/0.3535, allocations: 1.599 MB / 1.285 GB, free: 47.42 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006693/0.3542, allocations: 351 kB / 1.286 GB, free: 47.07 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003332/0.3546, allocations: 99.47 kB / 1.286 GB, free: 46.97 MB / 0.823 GB Notification: Performance of pre-optimization done (n=44): time 2.985e-06/0.3546, allocations: 0 / 1.286 GB, free: 46.97 MB / 0.823 GB Notification: Performance of matching and sorting (n=44): time 0.002942/0.3575, allocations: 1.221 MB / 1.287 GB, free: 45.72 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.3576, allocations: 59.41 kB / 1.287 GB, free: 45.65 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.3589, allocations: 1.263 MB / 1.288 GB, free: 44.37 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/0.3589, allocations: 45.7 kB / 1.288 GB, free: 44.32 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004213/0.3594, allocations: 0.6449 MB / 1.289 GB, free: 43.67 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.3595, allocations: 153.8 kB / 1.289 GB, free: 43.52 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.3597, allocations: 158.5 kB / 1.289 GB, free: 43.36 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.465e-05/0.3598, allocations: 334 kB / 1.29 GB, free: 43.02 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005859/0.3604, allocations: 292.6 kB / 1.29 GB, free: 42.73 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006998/0.3611, allocations: 0.6044 MB / 1.291 GB, free: 41.97 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.3623, allocations: 0.8535 MB / 1.291 GB, free: 41 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.3623, allocations: 4 kB / 1.291 GB, free: 41 MB / 0.823 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002028/0.3643, allocations: 1.129 MB / 1.292 GB, free: 39.86 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.3644, allocations: 37.69 kB / 1.293 GB, free: 39.81 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.3644, allocations: 11.94 kB / 1.293 GB, free: 39.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005728/0.365, allocations: 177.2 kB / 1.293 GB, free: 39.62 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/0.3655, allocations: 151.7 kB / 1.293 GB, free: 39.48 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005583/0.3661, allocations: 0.7669 MB / 1.294 GB, free: 38.68 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008544/0.367, allocations: 88.44 kB / 1.294 GB, free: 38.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.367, allocations: 35.98 kB / 1.294 GB, free: 38.56 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009413/0.368, allocations: 0.576 MB / 1.294 GB, free: 37.98 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005787/0.3686, allocations: 0.5731 MB / 1.295 GB, free: 37.25 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00101/0.3696, allocations: 0.7872 MB / 1.296 GB, free: 36.36 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.646e-06/0.3696, allocations: 0 / 1.296 GB, free: 36.36 MB / 0.823 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001642/0.3713, allocations: 1.089 MB / 1.297 GB, free: 35.23 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.3713, allocations: 39.11 kB / 1.297 GB, free: 35.18 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.3713, allocations: 12.48 kB / 1.297 GB, free: 35.17 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.3715, allocations: 108.8 kB / 1.297 GB, free: 35.06 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/0.372, allocations: 139.8 kB / 1.297 GB, free: 34.93 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.3735, allocations: 2.154 MB / 1.299 GB, free: 32.62 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007784/0.3743, allocations: 84.52 kB / 1.299 GB, free: 32.54 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/0.3744, allocations: 39.98 kB / 1.299 GB, free: 32.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000212/0.3746, allocations: 228 kB / 1.299 GB, free: 32.27 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.3748, allocations: 130.3 kB / 1.299 GB, free: 32.14 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.3766, allocations: 0.8963 MB / 1.3 GB, free: 31.23 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.3766, allocations: 15.94 kB / 1.3 GB, free: 31.21 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3766, allocations: 4 kB / 1.3 GB, free: 31.21 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001263/0.3779, allocations: 0.8999 MB / 1.301 GB, free: 30.24 MB / 0.823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/0.3807, allocations: 1.908 MB / 1.303 GB, free: 28.25 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3807, allocations: 4 kB / 1.303 GB, free: 28.24 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.3811, allocations: 87.94 kB / 1.303 GB, free: 28.16 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/0.3814, allocations: 120.7 kB / 1.303 GB, free: 28.04 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/0.3814, allocations: 19.98 kB / 1.303 GB, free: 28.02 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004291/0.3819, allocations: 0.7511 MB / 1.304 GB, free: 27.24 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3819, allocations: 3.938 kB / 1.304 GB, free: 27.23 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01762/0.3995, allocations: 9.655 MB / 1.314 GB, free: 17.16 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/0.3999, allocations: 251.4 kB / 1.314 GB, free: 16.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.4, allocations: 12 kB / 1.314 GB, free: 16.89 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005868/0.4006, allocations: 75.83 kB / 1.314 GB, free: 16.81 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.4007, allocations: 36.39 kB / 1.314 GB, free: 16.77 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/0.4008, allocations: 23.98 kB / 1.314 GB, free: 16.75 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009332/0.4017, allocations: 0.8818 MB / 1.315 GB, free: 15.87 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4017, allocations: 0 / 1.315 GB, free: 15.87 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003259/0.405, allocations: 1.085 MB / 1.316 GB, free: 14.78 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001044/0.4061, allocations: 442 kB / 1.316 GB, free: 14.35 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00263/0.4087, allocations: 1.378 MB / 1.318 GB, free: 12.93 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4087, allocations: 1.062 kB / 1.318 GB, free: 12.93 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007166/0.4094, allocations: 338.4 kB / 1.318 GB, free: 12.61 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/0.4119, allocations: 0.5742 MB / 1.318 GB, free: 12.05 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.4159, allocations: 3.276 MB / 1.322 GB, free: 8.715 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006618/0.4165, allocations: 1.298 MB / 1.323 GB, free: 7.387 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001418/0.418, allocations: 326.6 kB / 1.323 GB, free: 7.062 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.4183, allocations: 119.4 kB / 1.323 GB, free: 6.945 MB / 0.823 GB Notification: Performance of SimCode: time 8.21e-07/0.4183, allocations: 0 / 1.323 GB, free: 6.945 MB / 0.823 GB Notification: Performance of Templates: time 0.04593/0.4642, allocations: 29.43 MB / 1.352 GB, free: 9.809 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)