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.001039/0.001039, allocations: 95.92 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.008394/0.008394, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.406/1.406, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.76/1.76, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005702/0.0005704, allocations: 14.28 kB / 0.6743 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2522, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03762/0.2898, allocations: 28.47 MB / 0.8157 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01374/0.3037, allocations: 6.715 MB / 0.8222 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/0.3057, allocations: 39.69 kB / 0.8223 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.3076, allocations: 0.5988 MB / 0.8229 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00448/0.3122, allocations: 1.318 MB / 0.8241 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002877/0.3151, allocations: 1.047 MB / 0.8252 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003853/0.3189, allocations: 3.198 MB / 0.8283 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.3202, allocations: 0.7132 MB / 0.829 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001733/0.3219, allocations: 0.9295 MB / 0.8299 GB, free: 440 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.3232, allocations: 0.8168 MB / 0.8307 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.3234, allocations: 36 kB / 0.8307 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.325, allocations: 0.7638 MB / 0.8315 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002635/0.3253, allocations: 243 kB / 0.8317 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005725/0.3259, allocations: 0.5531 MB / 0.8322 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.3278, allocations: 1.569 MB / 0.8338 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3279, allocations: 3.938 kB / 0.8338 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3279, allocations: 0 / 0.8338 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.313e-05/0.3279, allocations: 0 / 0.8338 GB, free: 12.43 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.002361/0.3303, allocations: 1.364 MB / 0.8351 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3303, allocations: 8.031 kB / 0.8351 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003505/0.3338, allocations: 0.6353 MB / 0.8357 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.335, allocations: 0.8213 MB / 0.8365 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/0.3351, allocations: 58.38 kB / 0.8366 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.3352, allocations: 75.94 kB / 0.8367 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.3376, allocations: 1.111 MB / 0.8378 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.3376, allocations: 7.938 kB / 0.8378 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.796e-05/0.3377, allocations: 28 kB / 0.8378 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.3377, allocations: 20 kB / 0.8378 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003072/0.3408, allocations: 1.031 MB / 0.8388 GB, free: 7.082 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.005473/0.3463, allocations: 4.963 MB / 0.8437 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002985/0.3493, allocations: 0.9545 MB / 0.8446 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.3508, allocations: 0.4981 MB / 0.8451 GB, free: 372 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/0.3522, allocations: 1.603 MB / 0.8466 GB, free: 14.41 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001651/0.3538, allocations: 0.5807 MB / 0.8472 GB, free: 13.82 MB / 0.67 GB Notification: Performance of pre-optimization done (n=61): time 2.555e-06/0.3538, allocations: 4 kB / 0.8472 GB, free: 13.81 MB / 0.67 GB Notification: Performance of matching and sorting (n=61): time 0.004728/0.3586, allocations: 1.52 MB / 0.8487 GB, free: 12.29 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.3586, allocations: 63.95 kB / 0.8488 GB, free: 12.21 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.3599, allocations: 1.121 MB / 0.8499 GB, free: 11.08 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.625e-05/0.36, allocations: 45.64 kB / 0.8499 GB, free: 11.03 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004237/0.3604, allocations: 0.5513 MB / 0.8504 GB, free: 10.47 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.3606, allocations: 209.1 kB / 0.8506 GB, free: 10.27 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.3607, allocations: 69.67 kB / 0.8507 GB, free: 10.19 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.3609, allocations: 334 kB / 0.851 GB, free: 9.859 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.3624, allocations: 465.6 kB / 0.8515 GB, free: 9.402 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.364, allocations: 0.7514 MB / 0.8522 GB, free: 8.523 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002886/0.3669, allocations: 1.14 MB / 0.8533 GB, free: 7.273 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.3669, allocations: 3.938 kB / 0.8533 GB, free: 7.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00359/0.3705, allocations: 1.297 MB / 0.8546 GB, free: 5.965 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.3706, allocations: 8 kB / 0.8546 GB, free: 5.957 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.3706, allocations: 12 kB / 0.8546 GB, free: 5.945 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.3706, allocations: 12 kB / 0.8546 GB, free: 5.934 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.3718, allocations: 280.2 kB / 0.8549 GB, free: 5.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/0.3718, allocations: 19.92 kB / 0.8549 GB, free: 5.641 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.3731, allocations: 203 kB / 0.8551 GB, free: 5.441 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-05/0.3732, allocations: 47.97 kB / 0.8551 GB, free: 5.395 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.000472/0.3737, allocations: 296.4 kB / 0.8554 GB, free: 5.098 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.3739, allocations: 130.4 kB / 0.8555 GB, free: 4.969 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00374/0.3776, allocations: 1.386 MB / 0.8569 GB, free: 3.57 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.3777, allocations: 8 kB / 0.8569 GB, free: 3.562 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3777, allocations: 3.938 kB / 0.8569 GB, free: 3.559 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.3777, allocations: 3.984 kB / 0.8569 GB, free: 3.555 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004876/0.3826, allocations: 2.409 MB / 0.8593 GB, free: 1.074 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.3826, allocations: 0 / 0.8593 GB, free: 1.074 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.3836, allocations: 191.9 kB / 0.8594 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.3836, allocations: 4 kB / 0.8595 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.003e-05/0.3837, allocations: 23.97 kB / 0.8595 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.3837, allocations: 4 kB / 0.8595 GB, free: 0.8555 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.3837, allocations: 11.94 kB / 0.8595 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005073/0.3888, allocations: 2.009 MB / 0.8615 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004384/0.3892, allocations: 283.3 kB / 0.8617 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.3894, allocations: 19.98 kB / 0.8617 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009834/0.3904, allocations: 123.9 kB / 0.8619 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.3905, allocations: 56.36 kB / 0.8619 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.998e-05/0.3906, allocations: 39.97 kB / 0.862 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009154/0.3915, allocations: 0.7681 MB / 0.8627 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3915, allocations: 0 / 0.8627 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001034/0.3926, allocations: 347.6 kB / 0.863 GB, free: 13.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.001371/0.3939, allocations: 0.6479 MB / 0.8637 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003279/0.3972, allocations: 1.13 MB / 0.8648 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3972, allocations: 0 / 0.8648 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001593/0.3988, allocations: 0.5853 MB / 0.8653 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.4012, allocations: 470.5 kB / 0.8658 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004822/0.406, allocations: 2.827 MB / 0.8686 GB, free: 7.621 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006662/0.4067, allocations: 1.104 MB / 0.8696 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009951/0.4077, allocations: 244.8 kB / 0.8699 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/0.408, allocations: 111.4 kB / 0.87 GB, free: 6.137 MB / 0.6856 GB Notification: Performance of SimCode: time 9.41e-07/0.408, allocations: 0 / 0.87 GB, free: 6.137 MB / 0.6856 GB Notification: Performance of Templates: time 0.03439/0.4424, allocations: 19.4 MB / 0.8889 GB, free: 3.012 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: