Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001196/0.001196, 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.001464/0.001464, allocations: 196.3 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.871/2.871, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 61.44 kB / 0.9113 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.3994, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03095/0.4304, allocations: 29.17 MB / 1.096 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01185/0.4423, allocations: 6.917 MB / 1.103 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002021/0.4444, allocations: 43.69 kB / 1.103 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002277/0.4467, allocations: 0.5949 MB / 1.103 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004937/0.4517, allocations: 1.349 MB / 1.105 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003528/0.4552, allocations: 1.028 MB / 1.106 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004569/0.4598, allocations: 3.23 MB / 1.109 GB, free: 440 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/0.4615, allocations: 0.7271 MB / 1.11 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002512/0.464, allocations: 0.9373 MB / 1.11 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001774/0.4658, allocations: 0.8286 MB / 1.111 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003442/0.4661, allocations: 40 kB / 1.111 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.4686, allocations: 0.7716 MB / 1.112 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004665/0.469, allocations: 254.9 kB / 1.112 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.4701, allocations: 0.5358 MB / 1.113 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003187/0.4733, allocations: 1.569 MB / 1.114 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4733, allocations: 0 / 1.114 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4734, allocations: 0 / 1.114 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.293e-05/0.4734, allocations: 0 / 1.114 GB, free: 10.74 MB / 0.8731 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.003233/0.4766, allocations: 1.562 MB / 1.116 GB, free: 9.121 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.4767, allocations: 8.031 kB / 1.116 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003519/0.4802, allocations: 0.5884 MB / 1.116 GB, free: 8.523 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.4815, allocations: 0.8056 MB / 1.117 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.549e-05/0.4816, allocations: 54.36 kB / 1.117 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.4817, allocations: 75.94 kB / 1.117 GB, free: 7.535 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/0.4841, allocations: 1.103 MB / 1.118 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.4841, allocations: 7.938 kB / 1.118 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.87e-05/0.4842, allocations: 28 kB / 1.119 GB, free: 6.32 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.4842, allocations: 20 kB / 1.119 GB, free: 6.301 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002989/0.4872, allocations: 1.008 MB / 1.12 GB, free: 5.289 MB / 0.8731 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.005704/0.493, allocations: 4.939 MB / 1.124 GB, free: 60 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002863/0.4958, allocations: 0.8991 MB / 1.125 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.4973, allocations: 486.1 kB / 1.126 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00156/0.4988, allocations: 1.592 MB / 1.127 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001638/0.5005, allocations: 0.5806 MB / 1.128 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=61): time 3.377e-06/0.5005, allocations: 0 / 1.128 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of matching and sorting (n=61): time 0.004693/0.5052, allocations: 1.493 MB / 1.129 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.5053, allocations: 59.95 kB / 1.129 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.5068, allocations: 1.12 MB / 1.13 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.386e-05/0.5069, allocations: 41.7 kB / 1.13 GB, free: 9.387 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004645/0.5074, allocations: 0.5395 MB / 1.131 GB, free: 8.84 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.5076, allocations: 217 kB / 1.131 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002937/0.5079, allocations: 158.5 kB / 1.131 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.5081, allocations: 341.9 kB / 1.132 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/0.5095, allocations: 449.6 kB / 1.132 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.5112, allocations: 0.7125 MB / 1.133 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003012/0.5142, allocations: 1.12 MB / 1.134 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.5143, allocations: 4 kB / 1.134 GB, free: 5.633 MB / 0.8887 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003632/0.5179, allocations: 1.274 MB / 1.135 GB, free: 4.352 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.5179, allocations: 8 kB / 1.135 GB, free: 4.344 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.518, allocations: 12.09 kB / 1.135 GB, free: 4.332 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/0.518, allocations: 15.94 kB / 1.135 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.5192, allocations: 263.6 kB / 1.135 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.794e-05/0.5193, allocations: 19.92 kB / 1.135 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.5207, allocations: 191 kB / 1.136 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.5208, allocations: 43.98 kB / 1.136 GB, free: 3.809 MB / 0.8887 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.000604/0.5214, allocations: 299.7 kB / 1.136 GB, free: 3.504 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003083/0.5218, allocations: 122.4 kB / 1.136 GB, free: 3.383 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003993/0.5258, allocations: 1.367 MB / 1.137 GB, free: 2 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.839e-05/0.5258, allocations: 11.98 kB / 1.137 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.5258, allocations: 0 / 1.137 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.5258, allocations: 7.984 kB / 1.137 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005381/0.5312, allocations: 2.355 MB / 1.14 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.5313, allocations: 4 kB / 1.14 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.5323, allocations: 191.9 kB / 1.14 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.621e-05/0.5324, allocations: 4 kB / 1.14 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.858e-05/0.5324, allocations: 27.97 kB / 1.14 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.5325, allocations: 4 kB / 1.14 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.5325, allocations: 4 kB / 1.14 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005259/0.5377, allocations: 1.977 MB / 1.142 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005625/0.5383, allocations: 275.3 kB / 1.142 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/0.5385, allocations: 16 kB / 1.142 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.5396, allocations: 123.8 kB / 1.142 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.5398, allocations: 48.44 kB / 1.142 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.912e-05/0.5399, allocations: 35.97 kB / 1.142 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001101/0.541, allocations: 0.7638 MB / 1.143 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.11e-07/0.541, allocations: 3.938 kB / 1.143 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001351/0.5424, allocations: 347.6 kB / 1.143 GB, free: 11.69 MB / 0.9044 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.001924/0.5443, allocations: 0.6576 MB / 1.144 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003547/0.5479, allocations: 1.114 MB / 1.145 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5479, allocations: 0 / 1.145 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.5495, allocations: 0.5775 MB / 1.146 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.5518, allocations: 427.2 kB / 1.146 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005623/0.5574, allocations: 2.726 MB / 1.149 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009327/0.5583, allocations: 1.104 MB / 1.15 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001175/0.5595, allocations: 248.7 kB / 1.15 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003667/0.5599, allocations: 107.4 kB / 1.15 GB, free: 4.828 MB / 0.9044 GB Notification: Performance of SimCode: time 5.91e-07/0.5599, allocations: 0 / 1.15 GB, free: 4.828 MB / 0.9044 GB Notification: Performance of Templates: time 0.03544/0.5954, allocations: 19.06 MB / 1.169 GB, free: 2.023 MB / 0.92 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)