Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.562/1.562, allocations: 289.9 MB / 297.4 MB, free: 6.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009747/0.0009747, allocations: 180.9 kB / 366.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008753/0.0008754, allocations: 91.45 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.065e-05/2.066e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8175/0.8175, allocations: 116.3 MB / 0.9732 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.221/2.039, allocations: 390.3 MB / 1.354 GB, free: 165.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/2.039, allocations: 88.67 kB / 1.354 GB, free: 165.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.18/5.219, allocations: 0.9296 GB / 2.284 GB, free: 65.13 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.375e-06/5.219, allocations: 0 / 2.284 GB, free: 65.13 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001394/5.219, allocations: 55.92 kB / 2.284 GB, free: 65.07 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.003284/5.222, allocations: 1.873 MB / 2.286 GB, free: 63.12 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/5.222, allocations: 8.031 kB / 2.286 GB, free: 63.12 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002841/5.225, allocations: 0.6142 MB / 2.287 GB, free: 62.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003049/5.228, allocations: 1.457 MB / 2.288 GB, free: 60.99 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/5.228, allocations: 32 kB / 2.288 GB, free: 60.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/5.229, allocations: 75.91 kB / 2.288 GB, free: 60.89 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001377/5.23, allocations: 0.8592 MB / 2.289 GB, free: 60.02 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/5.231, allocations: 1.048 MB / 2.29 GB, free: 58.91 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/5.231, allocations: 7.969 kB / 2.29 GB, free: 58.91 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.792e-05/5.232, allocations: 4 kB / 2.29 GB, free: 58.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/5.232, allocations: 24.34 kB / 2.29 GB, free: 58.88 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.0065/5.238, allocations: 6.221 MB / 2.296 GB, free: 52.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/5.239, allocations: 0.9199 MB / 2.297 GB, free: 51.23 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/5.24, allocations: 0.4952 MB / 2.297 GB, free: 50.74 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/5.241, allocations: 2.257 MB / 2.3 GB, free: 47.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007233/5.242, allocations: 0.6592 MB / 2.3 GB, free: 47.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=100): time 3.606e-06/5.242, allocations: 0 / 2.3 GB, free: 47.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=100): time 0.003241/5.245, allocations: 1.466 MB / 2.302 GB, free: 45.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/5.245, allocations: 149.3 kB / 2.302 GB, free: 45.64 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/5.246, allocations: 0.8945 MB / 2.303 GB, free: 44.74 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.812e-05/5.246, allocations: 29.7 kB / 2.303 GB, free: 44.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004472/5.247, allocations: 0.7014 MB / 2.303 GB, free: 43.99 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/5.247, allocations: 315.3 kB / 2.304 GB, free: 43.68 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/5.247, allocations: 4 kB / 2.304 GB, free: 43.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.887e-05/5.247, allocations: 341.9 kB / 2.304 GB, free: 43.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004789/5.248, allocations: 406.5 kB / 2.304 GB, free: 42.94 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006003/5.248, allocations: 0.6575 MB / 2.305 GB, free: 42.18 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/5.25, allocations: 0.6973 MB / 2.306 GB, free: 41.48 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/5.25, allocations: 0 / 2.306 GB, free: 41.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00298/5.253, allocations: 1.573 MB / 2.307 GB, free: 39.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003513/5.253, allocations: 1.714 MB / 2.309 GB, free: 38.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/5.253, allocations: 4 kB / 2.309 GB, free: 38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/5.253, allocations: 8 kB / 2.309 GB, free: 38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/5.255, allocations: 287.6 kB / 2.309 GB, free: 37.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/5.255, allocations: 15.97 kB / 2.309 GB, free: 37.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/5.256, allocations: 207 kB / 2.31 GB, free: 37.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/5.256, allocations: 59.97 kB / 2.31 GB, free: 37.44 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/5.256, allocations: 5.406 kB / 2.31 GB, free: 37.43 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002776/5.259, allocations: 1.445 MB / 2.311 GB, free: 35.99 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/5.259, allocations: 4 kB / 2.311 GB, free: 35.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/5.259, allocations: 12 kB / 2.311 GB, free: 35.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/5.26, allocations: 279.6 kB / 2.311 GB, free: 35.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/5.26, allocations: 11.94 kB / 2.311 GB, free: 35.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/5.262, allocations: 195.2 kB / 2.311 GB, free: 35.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/5.262, allocations: 59.97 kB / 2.312 GB, free: 35.44 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002946/5.262, allocations: 246.3 kB / 2.312 GB, free: 35.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/5.262, allocations: 158.1 kB / 2.312 GB, free: 35.02 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/5.266, allocations: 2.058 MB / 2.314 GB, free: 32.96 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/5.266, allocations: 12 kB / 2.314 GB, free: 32.95 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/5.266, allocations: 3.984 kB / 2.314 GB, free: 32.94 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/5.266, allocations: 3.984 kB / 2.314 GB, free: 32.94 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005436/5.272, allocations: 3.285 MB / 2.317 GB, free: 29.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/5.272, allocations: 4.156 kB / 2.317 GB, free: 29.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/5.273, allocations: 231.7 kB / 2.317 GB, free: 29.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.295e-05/5.273, allocations: 7.953 kB / 2.317 GB, free: 29.34 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.187e-05/5.273, allocations: 35.97 kB / 2.317 GB, free: 29.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-06/5.273, allocations: 7.938 kB / 2.317 GB, free: 29.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/5.273, allocations: 4 kB / 2.317 GB, free: 29.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004181/5.277, allocations: 2.746 MB / 2.32 GB, free: 26.48 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007187/5.278, allocations: 394.7 kB / 2.32 GB, free: 26.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/5.278, allocations: 16 kB / 2.32 GB, free: 26.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/5.279, allocations: 159.6 kB / 2.321 GB, free: 25.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/5.28, allocations: 73.16 kB / 2.321 GB, free: 25.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-05/5.28, allocations: 59.97 kB / 2.321 GB, free: 25.77 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008678/5.281, allocations: 0.6761 MB / 2.321 GB, free: 25.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/5.281, allocations: 0 / 2.321 GB, free: 25.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002505/5.283, allocations: 0.889 MB / 2.322 GB, free: 24.21 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001697/5.285, allocations: 0.9814 MB / 2.323 GB, free: 23.23 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002551/5.287, allocations: 2.205 MB / 2.325 GB, free: 20.96 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/5.287, allocations: 0 / 2.325 GB, free: 20.96 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008013/5.288, allocations: 0.8896 MB / 2.326 GB, free: 20.03 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/5.291, allocations: 0.5366 MB / 2.327 GB, free: 19.49 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/5.295, allocations: 2.414 MB / 2.329 GB, free: 17.04 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/5.295, allocations: 1.312 MB / 2.33 GB, free: 15.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001917/5.297, allocations: 490.7 kB / 2.331 GB, free: 15.21 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/5.297, allocations: 115.3 kB / 2.331 GB, free: 15.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.002e-06/5.297, allocations: 0 / 2.331 GB, free: 15.1 MB / 0.948 GB Notification: Performance of Templates: time 0.7571/6.055, allocations: 31.72 MB / 2.362 GB, free: 133.9 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)