Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 193 kB / 16.53 MB, free: 6.391 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.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.794/2.794, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001459, allocations: 64.88 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3782, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.9512/1.329, allocations: 193.8 MB / 1.257 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009973/1.34, allocations: 5.156 MB / 1.262 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/1.341, allocations: 45.66 kB / 1.263 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002223/1.344, allocations: 0.8163 MB / 1.263 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008082/1.352, allocations: 2.601 MB / 1.266 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003456/1.355, allocations: 1.102 MB / 1.267 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004307/1.36, allocations: 2.677 MB / 1.27 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001822/1.361, allocations: 0.9416 MB / 1.27 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002822/1.364, allocations: 1.099 MB / 1.272 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/1.366, allocations: 0.991 MB / 1.272 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002024/1.366, allocations: 89.22 kB / 1.273 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004456/1.371, allocations: 1.788 MB / 1.274 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007962/1.371, allocations: 453.1 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001214/1.373, allocations: 0.6672 MB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005971/1.379, allocations: 2.175 MB / 1.278 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/1.379, allocations: 1 kB / 1.278 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.435e-06/1.379, allocations: 1.25 kB / 1.278 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.607e-05/1.379, allocations: 0 / 1.278 GB, free: 5.309 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006874/1.386, allocations: 1.959 MB / 1.279 GB, free: 20.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/1.386, allocations: 10.41 kB / 1.279 GB, free: 20.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006824/1.393, allocations: 0.896 MB / 1.28 GB, free: 20.27 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/1.395, allocations: 0.9056 MB / 1.281 GB, free: 19.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.645e-05/1.395, allocations: 69.36 kB / 1.281 GB, free: 19.89 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/1.395, allocations: 92.2 kB / 1.281 GB, free: 19.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004353/1.4, allocations: 1.587 MB / 1.283 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/1.4, allocations: 1.906 kB / 1.283 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/1.4, allocations: 32.28 kB / 1.283 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-05/1.4, allocations: 51.02 kB / 1.283 GB, free: 19.76 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005779/1.406, allocations: 1.851 MB / 1.285 GB, free: 19.75 MB / 1.014 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.009292/1.415, allocations: 4.753 MB / 1.289 GB, free: 17.88 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00455/1.42, allocations: 1.562 MB / 1.291 GB, free: 17.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002488/1.422, allocations: 0.8611 MB / 1.292 GB, free: 17.82 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001552/1.424, allocations: 0.9477 MB / 1.293 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002638/1.426, allocations: 0.9091 MB / 1.294 GB, free: 16.84 MB / 1.014 GB Notification: Performance of pre-optimization done (n=95): time 4.619e-06/1.426, allocations: 0 / 1.294 GB, free: 16.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=95): time 0.008327/1.435, allocations: 2.451 MB / 1.296 GB, free: 16.67 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/1.435, allocations: 61.91 kB / 1.296 GB, free: 16.61 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/1.437, allocations: 1.2 MB / 1.297 GB, free: 16.45 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001482/1.437, allocations: 52.64 kB / 1.297 GB, free: 16.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004351/1.437, allocations: 0.5445 MB / 1.298 GB, free: 16.25 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/1.438, allocations: 324.3 kB / 1.298 GB, free: 16.05 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003795/1.438, allocations: 184.4 kB / 1.298 GB, free: 16.03 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001622/1.438, allocations: 348.1 kB / 1.299 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002283/1.44, allocations: 0.6999 MB / 1.299 GB, free: 15.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/1.443, allocations: 0.9091 MB / 1.3 GB, free: 15.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00438/1.447, allocations: 1.556 MB / 1.302 GB, free: 15.29 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.447, allocations: 1.375 kB / 1.302 GB, free: 15.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005327/1.452, allocations: 1.779 MB / 1.303 GB, free: 15.12 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/1.453, allocations: 6.812 kB / 1.303 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/1.453, allocations: 4.469 kB / 1.303 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.355e-05/1.453, allocations: 11.22 kB / 1.304 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/1.454, allocations: 337.2 kB / 1.304 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/1.454, allocations: 12.28 kB / 1.304 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/1.456, allocations: 241.6 kB / 1.304 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/1.457, allocations: 45.09 kB / 1.304 GB, free: 15.05 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0007291/1.457, allocations: 337.7 kB / 1.304 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002454/1.458, allocations: 133.8 kB / 1.305 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00497/1.462, allocations: 1.811 MB / 1.306 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/1.463, allocations: 9.625 kB / 1.306 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.463, allocations: 0 / 1.306 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/1.463, allocations: 5.531 kB / 1.306 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007463/1.47, allocations: 3.338 MB / 1.31 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/1.47, allocations: 3.188 kB / 1.31 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/1.472, allocations: 293.8 kB / 1.31 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/1.472, allocations: 8.375 kB / 1.31 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.382e-05/1.472, allocations: 29.28 kB / 1.31 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/1.472, allocations: 8.219 kB / 1.31 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.472, allocations: 12.31 kB / 1.31 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007154/1.479, allocations: 2.843 MB / 1.313 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008787/1.48, allocations: 316.8 kB / 1.313 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/1.48, allocations: 26.56 kB / 1.313 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/1.482, allocations: 162.5 kB / 1.313 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/1.482, allocations: 73.64 kB / 1.313 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-05/1.482, allocations: 48.08 kB / 1.313 GB, free: 13.55 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001047/1.483, allocations: 0.8307 MB / 1.314 GB, free: 13.44 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.4e-07/1.483, allocations: 4 kB / 1.314 GB, free: 13.44 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001194/1.484, allocations: 338.6 kB / 1.314 GB, free: 13.41 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001335/1.485, allocations: 0.5369 MB / 1.315 GB, free: 13.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005291/1.491, allocations: 1.779 MB / 1.317 GB, free: 13.13 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/1.491, allocations: 2.781 kB / 1.317 GB, free: 13.13 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00238/1.493, allocations: 0.8387 MB / 1.318 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003192/1.496, allocations: 0.6159 MB / 1.318 GB, free: 13 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006372/1.503, allocations: 3.006 MB / 1.321 GB, free: 11.79 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008007/1.504, allocations: 1.18 MB / 1.322 GB, free: 11.06 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002153/1.506, allocations: 360.1 kB / 1.323 GB, free: 10.97 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/1.506, allocations: 118.4 kB / 1.323 GB, free: 10.96 MB / 1.014 GB Notification: Performance of SimCode: time 1.823e-06/1.506, allocations: 0 / 1.323 GB, free: 10.96 MB / 1.014 GB Notification: Performance of Templates: time 0.04557/1.552, allocations: 23.77 MB / 1.346 GB, free: 1.43 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)