Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002044/0.002044, allocations: 188.7 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.1 MB / 222.1 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.651/1.651, allocations: 292.2 MB / 0.5485 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 68.47 kB / 0.671 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2712, allocations: 114.6 MB / 0.7829 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02666/0.2979, allocations: 29.15 MB / 0.8113 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009766/0.3077, allocations: 6.699 MB / 0.8179 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.3089, allocations: 47.62 kB / 0.8179 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.3106, allocations: 0.6144 MB / 0.8185 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00352/0.3142, allocations: 1.334 MB / 0.8198 GB, free: 7.961 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002779/0.3169, allocations: 1.058 MB / 0.8208 GB, free: 6.91 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002981/0.3199, allocations: 2.473 MB / 0.8233 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.321, allocations: 0.8023 MB / 0.824 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.323, allocations: 1.046 MB / 0.8251 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.324, allocations: 0.8481 MB / 0.8259 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.3242, allocations: 68 kB / 0.826 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.3261, allocations: 0.8342 MB / 0.8268 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002754/0.3263, allocations: 278.9 kB / 0.827 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006138/0.327, allocations: 0.5594 MB / 0.8276 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.329, allocations: 1.631 MB / 0.8292 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.329, allocations: 7.938 kB / 0.8292 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.054e-06/0.329, allocations: 0 / 0.8292 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.418e-05/0.329, allocations: 0 / 0.8292 GB, free: 14.32 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002744/0.3318, allocations: 1.574 MB / 0.8307 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/0.3318, allocations: 16.03 kB / 0.8307 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003354/0.3352, allocations: 0.5767 MB / 0.8313 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.3364, allocations: 0.8214 MB / 0.8321 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.658e-05/0.3365, allocations: 62.38 kB / 0.8322 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.3366, allocations: 87.83 kB / 0.8322 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.3389, allocations: 1.094 MB / 0.8333 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.339, allocations: 7.922 kB / 0.8333 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.311e-05/0.339, allocations: 36 kB / 0.8334 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.3391, allocations: 20 kB / 0.8334 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002879/0.342, allocations: 1 MB / 0.8343 GB, free: 8.84 MB / 0.6544 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.005461/0.3474, allocations: 4.947 MB / 0.8392 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002663/0.3501, allocations: 0.8913 MB / 0.8401 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.3515, allocations: 495.1 kB / 0.8405 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/0.3528, allocations: 1.587 MB / 0.8421 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001568/0.3544, allocations: 0.5806 MB / 0.8426 GB, free: 15.69 MB / 0.67 GB Notification: Performance of pre-optimization done (n=61): time 4.719e-06/0.3544, allocations: 3.938 kB / 0.8426 GB, free: 15.68 MB / 0.67 GB Notification: Performance of matching and sorting (n=61): time 0.0043/0.3587, allocations: 1.485 MB / 0.8441 GB, free: 14.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.3588, allocations: 59.97 kB / 0.8442 GB, free: 14.12 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.3599, allocations: 1.125 MB / 0.8452 GB, free: 12.98 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.144e-05/0.36, allocations: 45.7 kB / 0.8453 GB, free: 12.93 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004879/0.3605, allocations: 0.5551 MB / 0.8458 GB, free: 12.37 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.3607, allocations: 209.1 kB / 0.846 GB, free: 12.16 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002824/0.361, allocations: 166.5 kB / 0.8462 GB, free: 11.99 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3612, allocations: 334 kB / 0.8465 GB, free: 11.66 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.3625, allocations: 453.6 kB / 0.8469 GB, free: 11.22 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.3641, allocations: 0.7318 MB / 0.8477 GB, free: 10.36 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002818/0.367, allocations: 1.12 MB / 0.8488 GB, free: 9.141 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.367, allocations: 0 / 0.8488 GB, free: 9.141 MB / 0.67 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00312/0.3701, allocations: 1.274 MB / 0.85 GB, free: 7.855 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.3701, allocations: 8 kB / 0.85 GB, free: 7.848 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.3702, allocations: 8 kB / 0.85 GB, free: 7.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.3702, allocations: 12.75 kB / 0.85 GB, free: 7.828 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.3713, allocations: 275.5 kB / 0.8503 GB, free: 7.559 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/0.3713, allocations: 19.92 kB / 0.8503 GB, free: 7.539 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.3725, allocations: 195 kB / 0.8505 GB, free: 7.348 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.873e-05/0.3726, allocations: 43.98 kB / 0.8505 GB, free: 7.305 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * 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 0.000366/0.3729, allocations: 300.4 kB / 0.8508 GB, free: 7.004 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.3731, allocations: 130.4 kB / 0.8509 GB, free: 6.875 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003436/0.3766, allocations: 1.359 MB / 0.8523 GB, free: 5.508 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.3766, allocations: 11.98 kB / 0.8523 GB, free: 5.496 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3766, allocations: 0 / 0.8523 GB, free: 5.496 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.3766, allocations: 7.984 kB / 0.8523 GB, free: 5.488 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00449/0.3811, allocations: 2.385 MB / 0.8546 GB, free: 3.027 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.3811, allocations: 4 kB / 0.8546 GB, free: 3.023 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009556/0.3821, allocations: 183.9 kB / 0.8548 GB, free: 2.844 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.3821, allocations: 4 kB / 0.8548 GB, free: 2.84 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-05/0.3822, allocations: 31.97 kB / 0.8548 GB, free: 2.809 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.3822, allocations: 7.984 kB / 0.8548 GB, free: 2.801 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3822, allocations: 0 / 0.8548 GB, free: 2.801 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004639/0.3868, allocations: 1.973 MB / 0.8568 GB, free: 0.793 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003992/0.3873, allocations: 275.4 kB / 0.857 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.3874, allocations: 19.98 kB / 0.8571 GB, free: 496 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009162/0.3883, allocations: 119.8 kB / 0.8572 GB, free: 376 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.3885, allocations: 52.44 kB / 0.8572 GB, free: 324 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.257e-05/0.3885, allocations: 35.97 kB / 0.8572 GB, free: 288 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008689/0.3894, allocations: 0.7682 MB / 0.858 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3894, allocations: 0 / 0.858 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001072/0.3905, allocations: 359.4 kB / 0.8583 GB, free: 15.15 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * 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.00139/0.3919, allocations: 0.6554 MB / 0.859 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003359/0.3953, allocations: 1.192 MB / 0.8601 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3953, allocations: 0 / 0.8601 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001486/0.3968, allocations: 0.5736 MB / 0.8607 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/0.3987, allocations: 470.9 kB / 0.8612 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00449/0.4032, allocations: 2.737 MB / 0.8638 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.4038, allocations: 1.112 MB / 0.8649 GB, free: 8.516 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009639/0.4048, allocations: 252.8 kB / 0.8652 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/0.4051, allocations: 107.4 kB / 0.8653 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of SimCode: time 5.41e-07/0.4051, allocations: 0 / 0.8653 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of Templates: time 0.03064/0.4358, allocations: 20.2 MB / 0.885 GB, free: 4.262 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)