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.369/1.369, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001011/0.001011, allocations: 184.5 kB / 326.5 MB, free: 2.691 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.697/1.697, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0009172/0.0009173, allocations: 80.75 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003149, allocations: 15.27 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1933, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02171/0.215, allocations: 28.89 MB / 0.9249 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007567/0.2226, allocations: 6.735 MB / 0.9315 GB, free: 32.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.2239, allocations: 43.69 kB / 0.9316 GB, free: 32.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.2253, allocations: 0.5949 MB / 0.9321 GB, free: 31.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.2284, allocations: 1.326 MB / 0.9334 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.2308, allocations: 1.044 MB / 0.9345 GB, free: 29.44 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002638/0.2335, allocations: 3.206 MB / 0.9376 GB, free: 26.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009607/0.2344, allocations: 0.6996 MB / 0.9383 GB, free: 25.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.236, allocations: 0.9451 MB / 0.9392 GB, free: 24.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009615/0.237, allocations: 0.8168 MB / 0.94 GB, free: 23.74 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.2371, allocations: 36 kB / 0.94 GB, free: 23.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.2386, allocations: 0.7599 MB / 0.9408 GB, free: 22.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.2388, allocations: 254.9 kB / 0.941 GB, free: 22.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004039/0.2392, allocations: 0.5202 MB / 0.9415 GB, free: 22.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.2403, allocations: 1.13 MB / 0.9426 GB, free: 21.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2403, allocations: 0 / 0.9426 GB, free: 21.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2403, allocations: 4 kB / 0.9426 GB, free: 21.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.2403, allocations: 0 / 0.9426 GB, free: 21.03 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.001886/0.2422, allocations: 1.376 MB / 0.944 GB, free: 19.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2422, allocations: 8.031 kB / 0.944 GB, free: 19.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003159/0.2454, allocations: 0.6353 MB / 0.9446 GB, free: 18.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009659/0.2464, allocations: 0.8175 MB / 0.9454 GB, free: 18.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.467e-05/0.2464, allocations: 58.38 kB / 0.9454 GB, free: 18.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.2465, allocations: 83.92 kB / 0.9455 GB, free: 17.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.2485, allocations: 1.107 MB / 0.9466 GB, free: 16.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.2485, allocations: 4 kB / 0.9466 GB, free: 16.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.498e-05/0.2486, allocations: 28 kB / 0.9466 GB, free: 16.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.2486, allocations: 16 kB / 0.9467 GB, free: 16.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.2511, allocations: 1.039 MB / 0.9477 GB, free: 15.68 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.004207/0.2553, allocations: 4.963 MB / 0.9525 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/0.2579, allocations: 0.9537 MB / 0.9534 GB, free: 9.457 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.2591, allocations: 0.4924 MB / 0.9539 GB, free: 8.965 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000957/0.2601, allocations: 1.603 MB / 0.9555 GB, free: 7.012 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/0.2614, allocations: 0.5924 MB / 0.9561 GB, free: 6.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 3.005e-06/0.2615, allocations: 0 / 0.9561 GB, free: 6.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.004029/0.2655, allocations: 1.52 MB / 0.9576 GB, free: 4.879 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.2655, allocations: 67.95 kB / 0.9576 GB, free: 4.801 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.2666, allocations: 1.121 MB / 0.9587 GB, free: 3.668 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/0.2667, allocations: 37.7 kB / 0.9588 GB, free: 3.625 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.267, allocations: 0.5552 MB / 0.9593 GB, free: 3.062 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.2671, allocations: 209.1 kB / 0.9595 GB, free: 2.855 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.45e-05/0.2672, allocations: 69.67 kB / 0.9596 GB, free: 2.781 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.444e-05/0.2673, allocations: 330 kB / 0.9599 GB, free: 2.453 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.2685, allocations: 461.6 kB / 0.9603 GB, free: 2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.2699, allocations: 0.7514 MB / 0.961 GB, free: 1.121 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002565/0.2724, allocations: 1.144 MB / 0.9622 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.2725, allocations: 0 / 0.9622 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00345/0.2759, allocations: 1.293 MB / 0.9634 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.276, allocations: 8 kB / 0.9634 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.276, allocations: 8.844 kB / 0.9634 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.276, allocations: 12 kB / 0.9635 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.2772, allocations: 279.6 kB / 0.9637 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.232e-05/0.2772, allocations: 19.92 kB / 0.9637 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.2785, allocations: 202.9 kB / 0.9639 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.292e-05/0.2786, allocations: 51.97 kB / 0.964 GB, free: 14 MB / 0.6198 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.0004851/0.2791, allocations: 299.7 kB / 0.9643 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.2793, allocations: 126.4 kB / 0.9644 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003676/0.283, allocations: 1.386 MB / 0.9657 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.283, allocations: 8 kB / 0.9658 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.283, allocations: 0 / 0.9658 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.283, allocations: 7.984 kB / 0.9658 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005039/0.2881, allocations: 2.401 MB / 0.9681 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.2881, allocations: 4 kB / 0.9681 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009698/0.2891, allocations: 191.9 kB / 0.9683 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/0.2891, allocations: 4 kB / 0.9683 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-05/0.2892, allocations: 23.97 kB / 0.9683 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.19e-05/0.2892, allocations: 11.94 kB / 0.9683 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.2892, allocations: 4 kB / 0.9683 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004995/0.2942, allocations: 2.005 MB / 0.9703 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005201/0.2948, allocations: 279.2 kB / 0.9706 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.295, allocations: 19.98 kB / 0.9706 GB, free: 7.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.2961, allocations: 127.9 kB / 0.9707 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.2962, allocations: 60.42 kB / 0.9708 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-05/0.2963, allocations: 35.97 kB / 0.9708 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001102/0.2974, allocations: 0.7642 MB / 0.9715 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2974, allocations: 0 / 0.9715 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001162/0.2986, allocations: 347.6 kB / 0.9719 GB, free: 5.77 MB / 0.6198 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.001624/0.3002, allocations: 0.6616 MB / 0.9725 GB, free: 5.266 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003383/0.3036, allocations: 1.13 MB / 0.9736 GB, free: 4.133 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.3036, allocations: 8.188 kB / 0.9736 GB, free: 4.125 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001606/0.3052, allocations: 0.5929 MB / 0.9742 GB, free: 3.535 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/0.3078, allocations: 441.3 kB / 0.9746 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005495/0.3133, allocations: 2.81 MB / 0.9774 GB, free: 252 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007764/0.3141, allocations: 1.1 MB / 0.9784 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/0.3145, allocations: 123.3 kB / 0.9786 GB, free: 15 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/0.3146, allocations: 0 / 0.9786 GB, free: 15 MB / 0.6355 GB Notification: Performance of Templates: time 0.0302/0.3448, allocations: 19.12 MB / 0.9972 GB, free: 12 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)