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.001293/0.001293, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001302/0.001302, allocations: 199.7 kB / 16.26 MB, free: 6.625 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.352/1.352, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.834/2.834, allocations: 472.6 MB / 0.7448 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 62.98 kB / 0.9115 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3509, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.9446/1.296, allocations: 191.3 MB / 1.255 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009702/1.305, allocations: 5.127 MB / 1.26 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/1.307, allocations: 44.44 kB / 1.26 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002149/1.31, allocations: 0.7216 MB / 1.26 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01084/1.32, allocations: 2.451 MB / 1.263 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00439/1.325, allocations: 1.007 MB / 1.264 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006193/1.331, allocations: 2.699 MB / 1.266 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00224/1.333, allocations: 0.955 MB / 1.267 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003343/1.337, allocations: 1.142 MB / 1.268 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002292/1.339, allocations: 1.046 MB / 1.269 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002234/1.339, allocations: 86.47 kB / 1.269 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004811/1.344, allocations: 1.861 MB / 1.271 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007223/1.345, allocations: 453.2 kB / 1.272 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001258/1.346, allocations: 0.6695 MB / 1.272 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006242/1.352, allocations: 2.3 MB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.352, allocations: 0.7188 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.074e-06/1.352, allocations: 0.875 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.108e-05/1.352, allocations: 1 kB / 1.275 GB, free: 5.242 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.006736/1.359, allocations: 1.953 MB / 1.276 GB, free: 20.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/1.359, allocations: 10.62 kB / 1.276 GB, free: 20.3 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006455/1.366, allocations: 0.9001 MB / 1.277 GB, free: 20.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002259/1.368, allocations: 0.9041 MB / 1.278 GB, free: 19.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-05/1.368, allocations: 69.08 kB / 1.278 GB, free: 19.84 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/1.368, allocations: 99.31 kB / 1.278 GB, free: 19.83 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004298/1.373, allocations: 1.581 MB / 1.28 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/1.373, allocations: 5.531 kB / 1.28 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/1.373, allocations: 34.41 kB / 1.28 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.314e-05/1.373, allocations: 47.11 kB / 1.28 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005379/1.378, allocations: 1.85 MB / 1.282 GB, free: 19.7 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.008501/1.387, allocations: 4.737 MB / 1.286 GB, free: 17.83 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004348/1.391, allocations: 1.562 MB / 1.288 GB, free: 17.8 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002227/1.393, allocations: 0.859 MB / 1.289 GB, free: 17.79 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/1.395, allocations: 0.9389 MB / 1.29 GB, free: 16.85 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002503/1.397, allocations: 0.9146 MB / 1.291 GB, free: 16.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=95): time 3.938e-06/1.397, allocations: 1.312 kB / 1.291 GB, free: 16.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=95): time 0.008066/1.405, allocations: 2.454 MB / 1.293 GB, free: 16.66 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/1.406, allocations: 62.91 kB / 1.293 GB, free: 16.59 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/1.408, allocations: 1.198 MB / 1.294 GB, free: 16.43 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001881/1.408, allocations: 56.12 kB / 1.294 GB, free: 16.4 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004682/1.408, allocations: 0.5345 MB / 1.295 GB, free: 16.24 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000327/1.409, allocations: 329.2 kB / 1.295 GB, free: 16.04 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003813/1.409, allocations: 183.6 kB / 1.295 GB, free: 16.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.409, allocations: 345 kB / 1.296 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002215/1.411, allocations: 0.6967 MB / 1.296 GB, free: 15.69 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002612/1.414, allocations: 0.915 MB / 1.297 GB, free: 15.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004761/1.419, allocations: 1.555 MB / 1.299 GB, free: 15.27 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.632e-05/1.419, allocations: 1.375 kB / 1.299 GB, free: 15.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005877/1.425, allocations: 1.778 MB / 1.3 GB, free: 15.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/1.425, allocations: 8.484 kB / 1.301 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/1.425, allocations: 8.562 kB / 1.301 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.57e-05/1.425, allocations: 7.812 kB / 1.301 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/1.427, allocations: 336.7 kB / 1.301 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-05/1.427, allocations: 18.81 kB / 1.301 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/1.429, allocations: 255 kB / 1.301 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/1.429, allocations: 45.38 kB / 1.301 GB, free: 15.03 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.001121/1.431, allocations: 343.8 kB / 1.301 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006278/1.431, allocations: 131.6 kB / 1.302 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005495/1.437, allocations: 1.799 MB / 1.303 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/1.437, allocations: 7.844 kB / 1.303 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.437, allocations: 5.531 kB / 1.303 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/1.437, allocations: 6.422 kB / 1.303 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008527/1.445, allocations: 3.338 MB / 1.307 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/1.445, allocations: 5.25 kB / 1.307 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/1.447, allocations: 285.3 kB / 1.307 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.397e-05/1.447, allocations: 7.344 kB / 1.307 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/1.447, allocations: 39.28 kB / 1.307 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-05/1.447, allocations: 11.12 kB / 1.307 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/1.447, allocations: 2.031 kB / 1.307 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0073/1.455, allocations: 2.855 MB / 1.31 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009912/1.456, allocations: 316.3 kB / 1.31 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005357/1.456, allocations: 27.08 kB / 1.31 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/1.458, allocations: 173.2 kB / 1.31 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/1.458, allocations: 70.22 kB / 1.31 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.458, allocations: 39.61 kB / 1.31 GB, free: 13.54 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001672/1.46, allocations: 0.8401 MB / 1.311 GB, free: 13.43 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.71e-07/1.46, allocations: 0 / 1.311 GB, free: 13.43 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001936/1.462, allocations: 341.2 kB / 1.312 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.001648/1.464, allocations: 0.5354 MB / 1.312 GB, free: 13.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005542/1.469, allocations: 1.785 MB / 1.314 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/1.469, allocations: 4.25 kB / 1.314 GB, free: 13.13 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002446/1.472, allocations: 0.8324 MB / 1.315 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.004109/1.476, allocations: 0.6237 MB / 1.315 GB, free: 13 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00762/1.484, allocations: 3.401 MB / 1.319 GB, free: 11.39 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/1.485, allocations: 1.18 MB / 1.32 GB, free: 10.67 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002412/1.487, allocations: 370.1 kB / 1.32 GB, free: 10.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006777/1.488, allocations: 120.7 kB / 1.32 GB, free: 10.56 MB / 1.014 GB Notification: Performance of SimCode: time 1.022e-06/1.488, allocations: 0 / 1.32 GB, free: 10.56 MB / 1.014 GB Notification: Performance of Templates: time 0.05007/1.538, allocations: 23.56 MB / 1.343 GB, free: 1.672 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)