Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 252 MB / 267.6 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 172.6 kB / 327.3 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.4 MB / 0.5783 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008584/0.0008584, allocations: 88.03 kB / 0.6829 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003445, allocations: 15.27 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2237, allocations: 106.3 MB / 0.9008 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02165/0.2454, allocations: 26.95 MB / 0.9271 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007614/0.2531, allocations: 6.321 MB / 0.9333 GB, free: 30.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.2544, allocations: 43.62 kB / 0.9334 GB, free: 30.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.2557, allocations: 0.5558 MB / 0.9339 GB, free: 30 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002993/0.2588, allocations: 1.17 MB / 0.935 GB, free: 28.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002462/0.2612, allocations: 0.9445 MB / 0.936 GB, free: 27.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002908/0.2641, allocations: 2.746 MB / 0.9386 GB, free: 25.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.2655, allocations: 0.6428 MB / 0.9393 GB, free: 24.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/0.2675, allocations: 0.8985 MB / 0.9402 GB, free: 23.58 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.269, allocations: 0.7585 MB / 0.9409 GB, free: 22.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002482/0.2692, allocations: 40 kB / 0.9409 GB, free: 22.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.2712, allocations: 0.4911 MB / 0.9414 GB, free: 22.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004175/0.2716, allocations: 239 kB / 0.9416 GB, free: 22.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005443/0.2722, allocations: 233 kB / 0.9419 GB, free: 21.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.2738, allocations: 1.033 MB / 0.9429 GB, free: 20.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2739, allocations: 0 / 0.9429 GB, free: 20.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2739, allocations: 0 / 0.9429 GB, free: 20.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.472e-05/0.2739, allocations: 0 / 0.9429 GB, free: 20.78 MB / 0.6042 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.002278/0.2762, allocations: 1.387 MB / 0.9442 GB, free: 19.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2762, allocations: 12.03 kB / 0.9442 GB, free: 19.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003241/0.2795, allocations: 0.6344 MB / 0.9449 GB, free: 18.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.2806, allocations: 0.7742 MB / 0.9456 GB, free: 17.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.2807, allocations: 58 kB / 0.9457 GB, free: 17.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.2808, allocations: 75.91 kB / 0.9457 GB, free: 17.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.2829, allocations: 1.109 MB / 0.9468 GB, free: 16.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.2829, allocations: 7.938 kB / 0.9468 GB, free: 16.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.072e-05/0.283, allocations: 28 kB / 0.9469 GB, free: 16.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.283, allocations: 20 kB / 0.9469 GB, free: 16.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002676/0.2857, allocations: 1.024 MB / 0.9479 GB, free: 15.47 MB / 0.6042 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.004387/0.2901, allocations: 4.967 MB / 0.9527 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002602/0.2927, allocations: 0.9459 MB / 0.9537 GB, free: 9.254 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.294, allocations: 499.1 kB / 0.9541 GB, free: 8.766 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.295, allocations: 1.603 MB / 0.9557 GB, free: 6.809 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001481/0.2965, allocations: 0.5923 MB / 0.9563 GB, free: 6.207 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 3.026e-06/0.2965, allocations: 4 kB / 0.9563 GB, free: 6.203 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.004246/0.3008, allocations: 1.512 MB / 0.9578 GB, free: 4.684 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.3008, allocations: 55.97 kB / 0.9578 GB, free: 4.617 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.3019, allocations: 1.117 MB / 0.9589 GB, free: 3.488 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.418e-05/0.302, allocations: 41.64 kB / 0.9589 GB, free: 3.441 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.3023, allocations: 0.559 MB / 0.9595 GB, free: 2.875 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.3024, allocations: 209.1 kB / 0.9597 GB, free: 2.668 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.3025, allocations: 16 kB / 0.9597 GB, free: 2.652 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.3026, allocations: 330 kB / 0.96 GB, free: 2.324 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.3038, allocations: 465.6 kB / 0.9605 GB, free: 1.867 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.3052, allocations: 0.7474 MB / 0.9612 GB, free: 0.9922 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.3065, allocations: 0.49 MB / 0.9617 GB, free: 0.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.3065, allocations: 4 kB / 0.9617 GB, free: 0.4961 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003372/0.3099, allocations: 1.282 MB / 0.9629 GB, free: 15.2 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.31, allocations: 11.95 kB / 0.9629 GB, free: 15.19 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.31, allocations: 8 kB / 0.9629 GB, free: 15.18 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.521e-05/0.31, allocations: 12 kB / 0.963 GB, free: 15.17 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.3113, allocations: 279.9 kB / 0.9632 GB, free: 14.89 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/0.3113, allocations: 19.92 kB / 0.9632 GB, free: 14.88 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.3126, allocations: 202.9 kB / 0.9634 GB, free: 14.68 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.3127, allocations: 51.97 kB / 0.9635 GB, free: 14.62 MB / 0.6199 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005079/0.3132, allocations: 295.8 kB / 0.9638 GB, free: 14.33 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.3134, allocations: 122.5 kB / 0.9639 GB, free: 14.21 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/0.3172, allocations: 1.394 MB / 0.9652 GB, free: 12.81 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.3172, allocations: 8 kB / 0.9652 GB, free: 12.8 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3172, allocations: 0 / 0.9652 GB, free: 12.8 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.3172, allocations: 7.984 kB / 0.9653 GB, free: 12.8 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004925/0.3222, allocations: 2.382 MB / 0.9676 GB, free: 10.34 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-05/0.3222, allocations: 7.828 kB / 0.9676 GB, free: 10.33 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.3232, allocations: 195.9 kB / 0.9678 GB, free: 10.14 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.3233, allocations: 4 kB / 0.9678 GB, free: 10.14 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.478e-05/0.3233, allocations: 23.97 kB / 0.9678 GB, free: 10.11 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.888e-05/0.3233, allocations: 7.938 kB / 0.9678 GB, free: 10.11 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3234, allocations: 4 kB / 0.9678 GB, free: 10.1 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005117/0.3285, allocations: 2.005 MB / 0.9698 GB, free: 8.059 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005705/0.3291, allocations: 291.2 kB / 0.97 GB, free: 7.75 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.3292, allocations: 16 kB / 0.9701 GB, free: 7.734 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009689/0.3302, allocations: 127.9 kB / 0.9702 GB, free: 7.609 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.3303, allocations: 52.44 kB / 0.9702 GB, free: 7.559 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.481e-05/0.3304, allocations: 35.97 kB / 0.9703 GB, free: 7.523 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.0009971/0.3314, allocations: 0.7564 MB / 0.971 GB, free: 6.762 MB / 0.6199 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3314, allocations: 4 kB / 0.971 GB, free: 6.758 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.001117/0.3325, allocations: 343.6 kB / 0.9713 GB, free: 6.422 MB / 0.6199 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001398/0.3339, allocations: 0.6473 MB / 0.972 GB, free: 5.922 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.003357/0.3373, allocations: 1.126 MB / 0.9731 GB, free: 4.797 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3373, allocations: 0 / 0.9731 GB, free: 4.797 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.001619/0.3389, allocations: 0.5853 MB / 0.9736 GB, free: 4.211 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/0.3413, allocations: 461.7 kB / 0.9741 GB, free: 3.766 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005172/0.3464, allocations: 2.748 MB / 0.9768 GB, free: 0.9688 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006281/0.3471, allocations: 1.108 MB / 0.9779 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004289/0.3475, allocations: 123.3 kB / 0.978 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/0.3475, allocations: 0 / 0.978 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of Templates: time 0.03261/0.3802, allocations: 19.13 MB / 0.9967 GB, free: 12.69 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)