Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009547/0.0009548, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007577/0.007577, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.4/1.4, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.905/2.905, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005219/0.0005218, allocations: 9.75 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3892, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 1.116/1.506, allocations: 189 MB / 1.259 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01049/1.516, allocations: 5.144 MB / 1.264 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/1.518, allocations: 46 kB / 1.264 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002289/1.52, allocations: 0.7081 MB / 1.264 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009069/1.53, allocations: 2.449 MB / 1.267 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003699/1.533, allocations: 0.9994 MB / 1.268 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006259/1.54, allocations: 3.61 MB / 1.271 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001927/1.541, allocations: 0.8515 MB / 1.272 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002961/1.544, allocations: 1.007 MB / 1.273 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/1.546, allocations: 1 MB / 1.274 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000153/1.547, allocations: 50.66 kB / 1.274 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005409/1.552, allocations: 2.065 MB / 1.276 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008215/1.553, allocations: 408.7 kB / 1.277 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001583/1.554, allocations: 0.648 MB / 1.277 GB, free: 22.32 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006221/1.561, allocations: 2.25 MB / 1.279 GB, free: 22.17 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/1.561, allocations: 0 / 1.279 GB, free: 22.17 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.585e-06/1.561, allocations: 0 / 1.279 GB, free: 22.17 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.254e-05/1.561, allocations: 0 / 1.279 GB, free: 22.17 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.006172/1.567, allocations: 1.7 MB / 1.281 GB, free: 21.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.477e-05/1.567, allocations: 9.859 kB / 1.281 GB, free: 21.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006735/1.574, allocations: 0.9344 MB / 1.282 GB, free: 21.16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/1.576, allocations: 0.8999 MB / 1.283 GB, free: 20.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-05/1.576, allocations: 66.31 kB / 1.283 GB, free: 20.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/1.576, allocations: 104.4 kB / 1.283 GB, free: 20.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004574/1.581, allocations: 1.581 MB / 1.285 GB, free: 20.62 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/1.581, allocations: 1.312 kB / 1.285 GB, free: 20.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/1.581, allocations: 34.12 kB / 1.285 GB, free: 20.62 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/1.581, allocations: 44.55 kB / 1.285 GB, free: 20.62 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006267/1.587, allocations: 1.848 MB / 1.286 GB, free: 20.59 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.009584/1.597, allocations: 4.751 MB / 1.291 GB, free: 18.69 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004753/1.602, allocations: 1.595 MB / 1.293 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002449/1.604, allocations: 0.8549 MB / 1.293 GB, free: 18.59 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/1.606, allocations: 0.9608 MB / 1.294 GB, free: 17.64 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002724/1.609, allocations: 0.9066 MB / 1.295 GB, free: 17.57 MB / 1.014 GB Notification: Performance of pre-optimization done (n=95): time 4.218e-06/1.609, allocations: 1.75 kB / 1.295 GB, free: 17.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=95): time 0.008575/1.617, allocations: 2.449 MB / 1.298 GB, free: 17.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/1.617, allocations: 64.81 kB / 1.298 GB, free: 17.35 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/1.619, allocations: 1.195 MB / 1.299 GB, free: 17.19 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001674/1.62, allocations: 46.27 kB / 1.299 GB, free: 17.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005297/1.62, allocations: 0.5489 MB / 1.3 GB, free: 16.99 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003612/1.62, allocations: 324 kB / 1.3 GB, free: 16.79 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/1.621, allocations: 81.73 kB / 1.3 GB, free: 16.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.621, allocations: 345.5 kB / 1.3 GB, free: 16.47 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002321/1.623, allocations: 0.6985 MB / 1.301 GB, free: 16.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00251/1.626, allocations: 0.9064 MB / 1.302 GB, free: 16.24 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00467/1.63, allocations: 1.545 MB / 1.303 GB, free: 16.04 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/1.63, allocations: 8.609 kB / 1.303 GB, free: 16.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005504/1.636, allocations: 1.773 MB / 1.305 GB, free: 15.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/1.636, allocations: 7.219 kB / 1.305 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/1.636, allocations: 4.5 kB / 1.305 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.372e-05/1.636, allocations: 9.844 kB / 1.305 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/1.638, allocations: 339 kB / 1.305 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/1.638, allocations: 12.66 kB / 1.305 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/1.64, allocations: 251 kB / 1.306 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/1.64, allocations: 49.12 kB / 1.306 GB, free: 15.81 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.0007959/1.641, allocations: 343.1 kB / 1.306 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/1.641, allocations: 134.3 kB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005225/1.646, allocations: 1.795 MB / 1.308 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/1.646, allocations: 9.531 kB / 1.308 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/1.646, allocations: 0 / 1.308 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/1.646, allocations: 6.375 kB / 1.308 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007849/1.654, allocations: 3.334 MB / 1.311 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/1.654, allocations: 3.25 kB / 1.311 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/1.656, allocations: 291.7 kB / 1.311 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/1.656, allocations: 6.781 kB / 1.311 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.084e-05/1.656, allocations: 33.2 kB / 1.311 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/1.656, allocations: 9.5 kB / 1.312 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/1.656, allocations: 12.33 kB / 1.312 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007245/1.663, allocations: 2.835 MB / 1.314 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009622/1.664, allocations: 331.3 kB / 1.315 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/1.665, allocations: 24.8 kB / 1.315 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001556/1.666, allocations: 177.7 kB / 1.315 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/1.666, allocations: 74.5 kB / 1.315 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.666, allocations: 46.3 kB / 1.315 GB, free: 14.33 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001143/1.668, allocations: 0.8324 MB / 1.316 GB, free: 14.22 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.31e-07/1.668, allocations: 0 / 1.316 GB, free: 14.22 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001228/1.669, allocations: 339.7 kB / 1.316 GB, free: 14.2 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.001367/1.67, allocations: 0.5341 MB / 1.317 GB, free: 13.99 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00497/1.675, allocations: 1.623 MB / 1.318 GB, free: 13.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.675, allocations: 0 / 1.318 GB, free: 13.95 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00239/1.678, allocations: 0.8381 MB / 1.319 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003849/1.682, allocations: 0.5884 MB / 1.32 GB, free: 13.87 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006978/1.689, allocations: 3.51 MB / 1.323 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009285/1.689, allocations: 1.189 MB / 1.324 GB, free: 11.49 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002029/1.692, allocations: 356.5 kB / 1.324 GB, free: 11.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004524/1.692, allocations: 112.3 kB / 1.325 GB, free: 11.4 MB / 1.014 GB Notification: Performance of SimCode: time 1.022e-06/1.692, allocations: 2.031 kB / 1.325 GB, free: 11.4 MB / 1.014 GB Notification: Performance of Templates: time 0.04303/1.735, allocations: 22.59 MB / 1.347 GB, free: 1.23 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)