Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7156/0.7156, allocations: 132.3 MB / 144.9 MB, free: 10.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001082/0.001082, allocations: 174.4 kB / 176.9 MB, free: 2.184 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.336/1.336, allocations: 170.5 MB / 379.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001572/0.001572, allocations: 128.6 kB / 450 MB, free: 5.836 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.468/0.4681, allocations: 73.4 MB / 0.6736 GB, free: 47.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7565/1.225, allocations: 345.4 MB / 1.011 GB, free: 53.82 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/1.225, allocations: 85.2 kB / 1.011 GB, free: 53.77 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.386/3.611, allocations: 0.6578 GB / 1.669 GB, free: 61.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.092e-06/3.611, allocations: 0 / 1.669 GB, free: 61.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001419/3.611, allocations: 49.86 kB / 1.669 GB, free: 61.1 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.003324/3.614, allocations: 1.785 MB / 1.671 GB, free: 60.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/3.614, allocations: 11.06 kB / 1.671 GB, free: 60.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003321/3.618, allocations: 0.6074 MB / 1.671 GB, free: 60.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003262/3.621, allocations: 1.281 MB / 1.672 GB, free: 59.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.55e-05/3.621, allocations: 82.38 kB / 1.672 GB, free: 59.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/3.621, allocations: 113.8 kB / 1.673 GB, free: 59.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/3.623, allocations: 1.4 MB / 1.674 GB, free: 59.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/3.624, allocations: 2.25 kB / 1.674 GB, free: 59.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/3.624, allocations: 49.84 kB / 1.674 GB, free: 59.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/3.624, allocations: 30.91 kB / 1.674 GB, free: 59.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/3.626, allocations: 1.019 MB / 1.675 GB, free: 59.5 MB / 0.6198 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.007544/3.633, allocations: 7.661 MB / 1.683 GB, free: 54.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/3.635, allocations: 0.951 MB / 1.683 GB, free: 54.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005103/3.635, allocations: 421.5 kB / 1.684 GB, free: 54.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/3.636, allocations: 1.597 MB / 1.685 GB, free: 52.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001255/3.638, allocations: 0.7598 MB / 1.686 GB, free: 52.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=82): time 3.056e-06/3.638, allocations: 0 / 1.686 GB, free: 52.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82): time 0.002808/3.641, allocations: 1.312 MB / 1.687 GB, free: 52.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/3.641, allocations: 356.8 kB / 1.688 GB, free: 52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/3.642, allocations: 1.024 MB / 1.689 GB, free: 51.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.371e-05/3.642, allocations: 49.17 kB / 1.689 GB, free: 51.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004578/3.642, allocations: 0.7048 MB / 1.689 GB, free: 51.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/3.643, allocations: 271 kB / 1.69 GB, free: 51.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/3.643, allocations: 18.34 kB / 1.69 GB, free: 51.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.719e-05/3.643, allocations: 349.5 kB / 1.69 GB, free: 51.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/3.643, allocations: 394.4 kB / 1.69 GB, free: 51.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007406/3.644, allocations: 0.7488 MB / 1.691 GB, free: 50.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006276/3.645, allocations: 0.5273 MB / 1.692 GB, free: 50.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/3.645, allocations: 0 / 1.692 GB, free: 50.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001853/3.647, allocations: 1.404 MB / 1.693 GB, free: 50.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004984/3.647, allocations: 2.686 MB / 1.696 GB, free: 47.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/3.647, allocations: 8.531 kB / 1.696 GB, free: 47.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/3.647, allocations: 11.09 kB / 1.696 GB, free: 47.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/3.648, allocations: 308.7 kB / 1.696 GB, free: 47.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/3.648, allocations: 17.17 kB / 1.696 GB, free: 47.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/3.65, allocations: 313.2 kB / 1.696 GB, free: 47.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/3.65, allocations: 60.41 kB / 1.696 GB, free: 47.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/3.65, allocations: 2.688 kB / 1.696 GB, free: 47.56 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00166/3.652, allocations: 1.277 MB / 1.698 GB, free: 47.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/3.652, allocations: 3.875 kB / 1.698 GB, free: 47.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/3.652, allocations: 11.62 kB / 1.698 GB, free: 47.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/3.653, allocations: 286.4 kB / 1.698 GB, free: 47.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/3.653, allocations: 18.11 kB / 1.698 GB, free: 47.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/3.655, allocations: 263 kB / 1.698 GB, free: 47.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-05/3.655, allocations: 55.56 kB / 1.698 GB, free: 47.39 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 112 * 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.0003099/3.655, allocations: 269.9 kB / 1.699 GB, free: 47.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/3.655, allocations: 156.6 kB / 1.699 GB, free: 47.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/3.658, allocations: 1.779 MB / 1.7 GB, free: 46.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/3.658, allocations: 11.81 kB / 1.7 GB, free: 46.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/3.658, allocations: 0 / 1.7 GB, free: 46.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/3.658, allocations: 6.375 kB / 1.7 GB, free: 46.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/3.66, allocations: 1.262 MB / 1.702 GB, free: 46.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/3.66, allocations: 2.438 kB / 1.702 GB, free: 46.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/3.661, allocations: 224.9 kB / 1.702 GB, free: 46.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/3.661, allocations: 10.31 kB / 1.702 GB, free: 46.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.086e-05/3.661, allocations: 24.95 kB / 1.702 GB, free: 46.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/3.661, allocations: 9.844 kB / 1.702 GB, free: 46.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/3.661, allocations: 6.719 kB / 1.702 GB, free: 46.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/3.664, allocations: 2.068 MB / 1.704 GB, free: 46.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000408/3.664, allocations: 242.9 kB / 1.704 GB, free: 46.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/3.664, allocations: 22.84 kB / 1.704 GB, free: 46.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/3.665, allocations: 189.9 kB / 1.704 GB, free: 46.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/3.666, allocations: 59.23 kB / 1.704 GB, free: 46.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.808e-05/3.666, allocations: 40.38 kB / 1.704 GB, free: 46.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009613/3.667, allocations: 0.8231 MB / 1.705 GB, free: 46.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/3.667, allocations: 0 / 1.705 GB, free: 46.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00236/3.669, allocations: 0.879 MB / 1.706 GB, free: 45.97 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent) * Number of discrete states: 15 (TSetHeat.last,TSetHeat.nextEvent,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.last,TSetCool.nextEvent,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 12 * 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.001405/3.67, allocations: 0.8825 MB / 1.707 GB, free: 45.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002427/3.673, allocations: 2.04 MB / 1.709 GB, free: 45.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/3.673, allocations: 0 / 1.709 GB, free: 45.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007082/3.674, allocations: 0.7259 MB / 1.71 GB, free: 45.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/3.676, allocations: 0.5609 MB / 1.71 GB, free: 45.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/3.679, allocations: 2.2 MB / 1.712 GB, free: 44.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005511/3.68, allocations: 1.26 MB / 1.714 GB, free: 43.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001829/3.682, allocations: 474.8 kB / 1.714 GB, free: 43.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/3.682, allocations: 112.7 kB / 1.714 GB, free: 43.82 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/3.682, allocations: 4 kB / 1.714 GB, free: 43.82 MB / 0.6198 GB Notification: Performance of Templates: time 0.0478/3.73, allocations: 35.8 MB / 1.749 GB, free: 41.54 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe 2>&1)