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.001299/0.001298, allocations: 108 kB / 15.99 MB, free: 6.355 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.001211/0.001211, allocations: 193.3 kB / 16.91 MB, free: 6.188 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.45/1.45, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.688/1.688, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001498/0.001498, allocations: 70.03 kB / 0.6716 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2338, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02963/0.2635, allocations: 29.15 MB / 0.812 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01145/0.275, allocations: 6.699 MB / 0.8185 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002156/0.2772, allocations: 47.62 kB / 0.8186 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002639/0.2799, allocations: 0.6105 MB / 0.8192 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004572/0.2845, allocations: 1.342 MB / 0.8205 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003199/0.2878, allocations: 1.062 MB / 0.8215 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003675/0.2915, allocations: 2.469 MB / 0.8239 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/0.2931, allocations: 0.8022 MB / 0.8247 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002564/0.2957, allocations: 1.043 MB / 0.8257 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.2974, allocations: 0.852 MB / 0.8265 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000312/0.2978, allocations: 68 kB / 0.8266 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.3, allocations: 0.8342 MB / 0.8274 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004371/0.3004, allocations: 278.9 kB / 0.8277 GB, free: 492 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.3015, allocations: 0.5633 MB / 0.8282 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002243/0.3037, allocations: 1.169 MB / 0.8294 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.3038, allocations: 0 / 0.8294 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3038, allocations: 0 / 0.8294 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.4e-05/0.3038, allocations: 0 / 0.8294 GB, free: 14.74 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.003363/0.3072, allocations: 1.594 MB / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3072, allocations: 8.031 kB / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003625/0.3109, allocations: 0.5884 MB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.3126, allocations: 0.8175 MB / 0.8323 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.914e-05/0.3127, allocations: 58.38 kB / 0.8324 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.3128, allocations: 79.84 kB / 0.8325 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.3155, allocations: 1.103 MB / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.3155, allocations: 7.938 kB / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-05/0.3156, allocations: 28 kB / 0.8336 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.3157, allocations: 16 kB / 0.8336 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003093/0.3188, allocations: 1.004 MB / 0.8346 GB, free: 9.246 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.006664/0.3254, allocations: 4.943 MB / 0.8394 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002879/0.3283, allocations: 0.8981 MB / 0.8403 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.3298, allocations: 487.1 kB / 0.8407 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001531/0.3313, allocations: 1.595 MB / 0.8423 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001752/0.3331, allocations: 0.5766 MB / 0.8429 GB, free: 104 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 3.156e-06/0.3331, allocations: 0 / 0.8429 GB, free: 104 kB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.004872/0.338, allocations: 1.489 MB / 0.8443 GB, free: 14.61 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.3381, allocations: 55.97 kB / 0.8444 GB, free: 14.54 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.3397, allocations: 1.128 MB / 0.8455 GB, free: 13.39 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.3398, allocations: 37.7 kB / 0.8455 GB, free: 13.35 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004829/0.3403, allocations: 0.5513 MB / 0.846 GB, free: 12.79 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.3406, allocations: 209.1 kB / 0.8462 GB, free: 12.59 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003039/0.3409, allocations: 166.5 kB / 0.8464 GB, free: 12.41 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.341, allocations: 338 kB / 0.8467 GB, free: 12.08 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.3424, allocations: 449.6 kB / 0.8471 GB, free: 11.64 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.3441, allocations: 0.7396 MB / 0.8479 GB, free: 10.78 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002961/0.347, allocations: 1.12 MB / 0.849 GB, free: 9.555 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.3471, allocations: 8 kB / 0.849 GB, free: 9.547 MB / 0.67 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003639/0.3507, allocations: 1.274 MB / 0.8502 GB, free: 8.262 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.3508, allocations: 10.5 kB / 0.8502 GB, free: 8.254 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.3508, allocations: 8 kB / 0.8502 GB, free: 8.246 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.3508, allocations: 12 kB / 0.8502 GB, free: 8.234 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.3521, allocations: 267.8 kB / 0.8505 GB, free: 7.973 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.496e-05/0.3521, allocations: 19.94 kB / 0.8505 GB, free: 7.953 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.3535, allocations: 199 kB / 0.8507 GB, free: 7.758 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.3536, allocations: 43.97 kB / 0.8507 GB, free: 7.715 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.0005709/0.3542, allocations: 300.3 kB / 0.851 GB, free: 7.414 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/0.3546, allocations: 126.4 kB / 0.8512 GB, free: 7.289 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003962/0.3585, allocations: 1.363 MB / 0.8525 GB, free: 5.918 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/0.3586, allocations: 12 kB / 0.8525 GB, free: 5.906 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.3586, allocations: 3.984 kB / 0.8525 GB, free: 5.902 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.3586, allocations: 3.938 kB / 0.8525 GB, free: 5.898 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005408/0.364, allocations: 2.382 MB / 0.8548 GB, free: 3.441 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.3641, allocations: 0 / 0.8548 GB, free: 3.441 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.3652, allocations: 191.9 kB / 0.855 GB, free: 3.254 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/0.3652, allocations: 7.938 kB / 0.855 GB, free: 3.246 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.581e-05/0.3653, allocations: 23.97 kB / 0.855 GB, free: 3.223 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.3653, allocations: 4 kB / 0.855 GB, free: 3.219 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/0.3654, allocations: 4 kB / 0.8551 GB, free: 3.215 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005069/0.3704, allocations: 1.977 MB / 0.857 GB, free: 1.203 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005355/0.371, allocations: 271.4 kB / 0.8572 GB, free: 0.918 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/0.3712, allocations: 20 kB / 0.8573 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.3723, allocations: 127.8 kB / 0.8574 GB, free: 0.7734 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.3724, allocations: 52.44 kB / 0.8574 GB, free: 0.7227 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.148e-05/0.3725, allocations: 31.97 kB / 0.8575 GB, free: 0.6914 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001039/0.3736, allocations: 0.7759 MB / 0.8582 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.3e-07/0.3736, allocations: 0 / 0.8582 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00116/0.3747, allocations: 347.4 kB / 0.8586 GB, free: 15.57 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.001546/0.3763, allocations: 0.6608 MB / 0.8592 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003686/0.38, allocations: 1.188 MB / 0.8604 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.38, allocations: 0 / 0.8604 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.3817, allocations: 0.5775 MB / 0.8609 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/0.384, allocations: 483.3 kB / 0.8614 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005469/0.3895, allocations: 2.785 MB / 0.8641 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007378/0.3902, allocations: 1.104 MB / 0.8652 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005158/0.3908, allocations: 119.4 kB / 0.8653 GB, free: 8.754 MB / 0.6856 GB Notification: Performance of SimCode: time 8.12e-07/0.3908, allocations: 0 / 0.8653 GB, free: 8.754 MB / 0.6856 GB Notification: Performance of Templates: time 0.02942/0.4202, allocations: 19.28 MB / 0.8841 GB, free: 5.641 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)