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.001374/0.001374, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001829/0.001828, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.445/1.445, allocations: 205.1 MB / 222 MB, free: 4.77 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.676/1.676, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.002179/0.002179, allocations: 66.59 kB / 0.6708 GB, free: 26.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2387, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02637/0.2652, allocations: 29.21 MB / 0.8112 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00999/0.2752, allocations: 6.777 MB / 0.8178 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.2766, allocations: 43.69 kB / 0.8178 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.2783, allocations: 0.6027 MB / 0.8184 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003495/0.2818, allocations: 1.314 MB / 0.8197 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.2848, allocations: 1.044 MB / 0.8207 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00506/0.2899, allocations: 3.21 MB / 0.8239 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.2916, allocations: 0.7155 MB / 0.8246 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002187/0.2938, allocations: 0.9451 MB / 0.8255 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.2949, allocations: 0.8402 MB / 0.8263 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.2951, allocations: 44 kB / 0.8264 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/0.2969, allocations: 0.7638 MB / 0.8271 GB, free: 344 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002741/0.2972, allocations: 254.9 kB / 0.8273 GB, free: 88 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005822/0.2977, allocations: 0.5397 MB / 0.8279 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002089/0.2998, allocations: 1.581 MB / 0.8294 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2999, allocations: 4 kB / 0.8294 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2999, allocations: 3.984 kB / 0.8294 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.2999, allocations: 0 / 0.8294 GB, free: 13.95 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.002648/0.3025, allocations: 1.582 MB / 0.831 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3026, allocations: 8.031 kB / 0.831 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003543/0.3061, allocations: 0.5845 MB / 0.8315 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.3074, allocations: 0.8213 MB / 0.8323 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.275e-05/0.3075, allocations: 58.38 kB / 0.8324 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.3076, allocations: 79.84 kB / 0.8325 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.31, allocations: 1.107 MB / 0.8336 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.3101, allocations: 4 kB / 0.8336 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.753e-05/0.3102, allocations: 28 kB / 0.8336 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.3102, allocations: 24 kB / 0.8336 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002978/0.3132, allocations: 1 MB / 0.8346 GB, free: 8.465 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.005904/0.3191, allocations: 4.943 MB / 0.8394 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002842/0.322, allocations: 0.9068 MB / 0.8403 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/0.3234, allocations: 486.2 kB / 0.8408 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/0.3248, allocations: 1.588 MB / 0.8423 GB, free: 15.89 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001636/0.3264, allocations: 0.5727 MB / 0.8429 GB, free: 15.31 MB / 0.67 GB Notification: Performance of pre-optimization done (n=61): time 2.986e-06/0.3264, allocations: 0 / 0.8429 GB, free: 15.31 MB / 0.67 GB Notification: Performance of matching and sorting (n=61): time 0.00463/0.3311, allocations: 1.493 MB / 0.8443 GB, free: 13.82 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.3311, allocations: 59.97 kB / 0.8444 GB, free: 13.74 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.3325, allocations: 1.125 MB / 0.8455 GB, free: 12.61 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-05/0.3326, allocations: 41.7 kB / 0.8455 GB, free: 12.56 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.333, allocations: 0.5513 MB / 0.8461 GB, free: 12 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.3332, allocations: 213.1 kB / 0.8463 GB, free: 11.79 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.3335, allocations: 162.5 kB / 0.8464 GB, free: 11.62 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3336, allocations: 341.9 kB / 0.8468 GB, free: 11.29 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.3349, allocations: 445.6 kB / 0.8472 GB, free: 10.85 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.3365, allocations: 0.7396 MB / 0.8479 GB, free: 9.988 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002877/0.3394, allocations: 1.12 MB / 0.849 GB, free: 8.762 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.3394, allocations: 0 / 0.849 GB, free: 8.762 MB / 0.67 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003589/0.343, allocations: 1.277 MB / 0.8502 GB, free: 7.473 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.343, allocations: 10.97 kB / 0.8503 GB, free: 7.465 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.3431, allocations: 11.94 kB / 0.8503 GB, free: 7.453 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.3431, allocations: 12 kB / 0.8503 GB, free: 7.441 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.3443, allocations: 275.6 kB / 0.8505 GB, free: 7.172 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.3443, allocations: 15.94 kB / 0.8506 GB, free: 7.156 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.3457, allocations: 195 kB / 0.8507 GB, free: 6.965 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.685e-05/0.3458, allocations: 47.98 kB / 0.8508 GB, free: 6.918 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.0004968/0.3463, allocations: 299.7 kB / 0.8511 GB, free: 6.617 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.3465, allocations: 122.4 kB / 0.8512 GB, free: 6.496 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003631/0.3501, allocations: 1.355 MB / 0.8525 GB, free: 5.129 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/0.3501, allocations: 15.98 kB / 0.8525 GB, free: 5.113 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3502, allocations: 3.938 kB / 0.8525 GB, free: 5.109 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.3502, allocations: 3.984 kB / 0.8525 GB, free: 5.105 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004774/0.355, allocations: 2.378 MB / 0.8549 GB, free: 2.652 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.355, allocations: 4 kB / 0.8549 GB, free: 2.648 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009999/0.356, allocations: 183.9 kB / 0.855 GB, free: 2.469 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.356, allocations: 8 kB / 0.855 GB, free: 2.461 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.959e-05/0.3561, allocations: 31.97 kB / 0.8551 GB, free: 2.43 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.3561, allocations: 7.984 kB / 0.8551 GB, free: 2.422 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.3561, allocations: 3.938 kB / 0.8551 GB, free: 2.418 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004837/0.361, allocations: 1.969 MB / 0.857 GB, free: 424 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004679/0.3614, allocations: 275.4 kB / 0.8573 GB, free: 128 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.3616, allocations: 16 kB / 0.8573 GB, free: 112 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009945/0.3626, allocations: 128 kB / 0.8574 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.3627, allocations: 52.38 kB / 0.8575 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-05/0.3628, allocations: 35.97 kB / 0.8575 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009097/0.3637, allocations: 0.7681 MB / 0.8582 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.716e-06/0.3637, allocations: 0 / 0.8582 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001091/0.3648, allocations: 359.4 kB / 0.8586 GB, free: 14.77 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.001408/0.3663, allocations: 0.6573 MB / 0.8592 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00331/0.3696, allocations: 1.11 MB / 0.8603 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.3696, allocations: 0 / 0.8603 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.3712, allocations: 0.5775 MB / 0.8609 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/0.3735, allocations: 450.3 kB / 0.8613 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004973/0.3785, allocations: 2.742 MB / 0.864 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006406/0.3792, allocations: 1.104 MB / 0.8651 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001171/0.3804, allocations: 248.8 kB / 0.8653 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/0.3807, allocations: 107.3 kB / 0.8654 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of SimCode: time 1.503e-06/0.3807, allocations: 0 / 0.8654 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of Templates: time 0.03324/0.414, allocations: 19.53 MB / 0.8845 GB, free: 4.633 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)