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.0008797/0.0008794, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007469/0.007469, allocations: 170.5 kB / 16.26 MB, free: 6.676 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.458/1.458, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003606, allocations: 9.5 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4106, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 1.107/1.518, allocations: 189 MB / 1.259 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01347/1.531, allocations: 5.147 MB / 1.264 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002809/1.534, allocations: 45.25 kB / 1.264 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002633/1.537, allocations: 0.7099 MB / 1.264 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008896/1.546, allocations: 2.45 MB / 1.267 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003801/1.55, allocations: 1.002 MB / 1.268 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006064/1.556, allocations: 3.61 MB / 1.271 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001882/1.558, allocations: 0.8536 MB / 1.272 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002901/1.561, allocations: 0.9996 MB / 1.273 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/1.562, allocations: 1.002 MB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001361/1.563, allocations: 48.66 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005581/1.568, allocations: 2.065 MB / 1.276 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007714/1.569, allocations: 414.6 kB / 1.277 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001769/1.571, allocations: 0.6443 MB / 1.277 GB, free: 21.8 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007102/1.578, allocations: 2.245 MB / 1.279 GB, free: 21.66 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/1.578, allocations: 0.9375 kB / 1.279 GB, free: 21.66 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.304e-06/1.578, allocations: 0 / 1.279 GB, free: 21.66 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3e-05/1.578, allocations: 0 / 1.279 GB, free: 21.66 MB / 1.014 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.006521/1.584, allocations: 1.698 MB / 1.281 GB, free: 20.76 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.006e-05/1.585, allocations: 13.34 kB / 1.281 GB, free: 20.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007079/1.592, allocations: 0.9299 MB / 1.282 GB, free: 20.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/1.594, allocations: 0.9022 MB / 1.283 GB, free: 20.26 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.957e-05/1.594, allocations: 66.95 kB / 1.283 GB, free: 20.26 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/1.595, allocations: 102.7 kB / 1.283 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00429/1.599, allocations: 1.582 MB / 1.285 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/1.599, allocations: 1.094 kB / 1.285 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/1.599, allocations: 35.95 kB / 1.285 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-05/1.599, allocations: 48.59 kB / 1.285 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006592/1.606, allocations: 1.846 MB / 1.286 GB, free: 20.07 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.0116/1.617, allocations: 4.751 MB / 1.291 GB, free: 18.17 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004924/1.622, allocations: 1.592 MB / 1.293 GB, free: 18.11 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002449/1.625, allocations: 0.8547 MB / 1.293 GB, free: 18.07 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00144/1.626, allocations: 0.9546 MB / 1.294 GB, free: 17.13 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002615/1.629, allocations: 0.9107 MB / 1.295 GB, free: 17.06 MB / 1.014 GB Notification: Performance of pre-optimization done (n=95): time 3.757e-06/1.629, allocations: 2.906 kB / 1.295 GB, free: 17.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=95): time 0.008483/1.637, allocations: 2.446 MB / 1.298 GB, free: 16.9 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/1.637, allocations: 61.22 kB / 1.298 GB, free: 16.84 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002442/1.64, allocations: 1.198 MB / 1.299 GB, free: 16.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001621/1.64, allocations: 45.98 kB / 1.299 GB, free: 16.65 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005062/1.641, allocations: 0.5468 MB / 1.3 GB, free: 16.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/1.641, allocations: 327.6 kB / 1.3 GB, free: 16.28 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/1.641, allocations: 80.44 kB / 1.3 GB, free: 16.26 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.641, allocations: 346.3 kB / 1.3 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002281/1.644, allocations: 0.7021 MB / 1.301 GB, free: 15.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002408/1.646, allocations: 0.9114 MB / 1.302 GB, free: 15.73 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004452/1.65, allocations: 1.543 MB / 1.303 GB, free: 15.53 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/1.65, allocations: 1.031 kB / 1.303 GB, free: 15.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00533/1.656, allocations: 1.776 MB / 1.305 GB, free: 15.37 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/1.656, allocations: 10.06 kB / 1.305 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/1.656, allocations: 4.125 kB / 1.305 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/1.656, allocations: 10 kB / 1.305 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/1.658, allocations: 340.3 kB / 1.305 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/1.658, allocations: 11.72 kB / 1.305 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/1.66, allocations: 266.5 kB / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/1.66, allocations: 46.22 kB / 1.306 GB, free: 15.29 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.0007834/1.661, allocations: 338.5 kB / 1.306 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/1.661, allocations: 134.9 kB / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005055/1.666, allocations: 1.793 MB / 1.308 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/1.666, allocations: 8.25 kB / 1.308 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/1.666, allocations: 1.375 kB / 1.308 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/1.666, allocations: 8.953 kB / 1.308 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007462/1.673, allocations: 3.33 MB / 1.311 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/1.673, allocations: 3.188 kB / 1.311 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/1.675, allocations: 290.2 kB / 1.311 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/1.675, allocations: 12.38 kB / 1.311 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-05/1.675, allocations: 33.36 kB / 1.312 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/1.675, allocations: 8.375 kB / 1.312 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.675, allocations: 5.812 kB / 1.312 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007118/1.682, allocations: 2.837 MB / 1.314 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009643/1.683, allocations: 329.3 kB / 1.315 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/1.684, allocations: 26.23 kB / 1.315 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/1.685, allocations: 178.6 kB / 1.315 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/1.685, allocations: 68.97 kB / 1.315 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/1.685, allocations: 41.27 kB / 1.315 GB, free: 13.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001246/1.687, allocations: 0.839 MB / 1.316 GB, free: 13.71 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.687, allocations: 0 / 1.316 GB, free: 13.71 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001247/1.688, allocations: 340.5 kB / 1.316 GB, free: 13.68 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.001384/1.689, allocations: 0.5303 MB / 1.317 GB, free: 13.48 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004709/1.694, allocations: 1.618 MB / 1.318 GB, free: 13.43 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.694, allocations: 0 / 1.318 GB, free: 13.43 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00226/1.696, allocations: 0.8363 MB / 1.319 GB, free: 13.41 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003869/1.7, allocations: 0.5988 MB / 1.32 GB, free: 13.35 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00671/1.707, allocations: 3.509 MB / 1.323 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007926/1.708, allocations: 1.185 MB / 1.324 GB, free: 10.97 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001939/1.71, allocations: 360.6 kB / 1.324 GB, free: 10.88 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004416/1.71, allocations: 118.8 kB / 1.325 GB, free: 10.88 MB / 1.014 GB Notification: Performance of SimCode: time 1.303e-06/1.71, allocations: 0 / 1.325 GB, free: 10.88 MB / 1.014 GB Notification: Performance of Templates: time 0.0451/1.755, allocations: 22.59 MB / 1.347 GB, free: 0.6875 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)