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.7354/0.7354, allocations: 132.4 MB / 139.9 MB, free: 15.36 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.0009401/0.0009402, allocations: 169.1 kB / 171.8 MB, free: 2.023 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.557/1.557, allocations: 170.6 MB / 374.2 MB, free: 15.7 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.001672/0.001672, allocations: 123.2 kB / 444.8 MB, free: 9.215 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.5437/0.5437, allocations: 73.39 MB / 0.6666 GB, free: 46.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8589/1.403, allocations: 344.8 MB / 1.003 GB, free: 61.29 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/1.403, allocations: 80.22 kB / 1.003 GB, free: 61.25 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.787/4.19, allocations: 0.654 GB / 1.657 GB, free: 60.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.344e-06/4.19, allocations: 0 / 1.657 GB, free: 60.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002654/4.19, allocations: 46.64 kB / 1.657 GB, free: 60.2 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.005303/4.196, allocations: 1.792 MB / 1.659 GB, free: 59.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/4.196, allocations: 9.281 kB / 1.659 GB, free: 59.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003948/4.2, allocations: 0.6125 MB / 1.66 GB, free: 59.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004965/4.205, allocations: 1.292 MB / 1.661 GB, free: 59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.856e-05/4.205, allocations: 34.94 kB / 1.661 GB, free: 59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005891/4.205, allocations: 68.52 kB / 1.661 GB, free: 59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002728/4.208, allocations: 0.837 MB / 1.662 GB, free: 58.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/4.211, allocations: 1.152 MB / 1.663 GB, free: 58.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/4.211, allocations: 7.812 kB / 1.663 GB, free: 58.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/4.211, allocations: 7.016 kB / 1.663 GB, free: 58.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.454e-05/4.211, allocations: 29.59 kB / 1.663 GB, free: 58.66 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.01008/4.221, allocations: 7.408 MB / 1.67 GB, free: 53.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/4.223, allocations: 0.8301 MB / 1.671 GB, free: 53.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007024/4.224, allocations: 406.1 kB / 1.672 GB, free: 53.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/4.225, allocations: 1.595 MB / 1.673 GB, free: 52.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/4.226, allocations: 0.6428 MB / 1.674 GB, free: 51.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=82): time 4.409e-06/4.226, allocations: 0 / 1.674 GB, free: 51.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82): time 0.004197/4.23, allocations: 1.304 MB / 1.675 GB, free: 51.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/4.23, allocations: 357.8 kB / 1.675 GB, free: 51.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/4.232, allocations: 0.8456 MB / 1.676 GB, free: 51.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001578/4.233, allocations: 28.33 kB / 1.676 GB, free: 51.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000734/4.233, allocations: 0.7215 MB / 1.677 GB, free: 50.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002958/4.234, allocations: 262.7 kB / 1.677 GB, free: 50.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-05/4.234, allocations: 2.656 kB / 1.677 GB, free: 50.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.613e-05/4.234, allocations: 346.5 kB / 1.677 GB, free: 50.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006551/4.234, allocations: 378.5 kB / 1.678 GB, free: 50.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009051/4.235, allocations: 0.7135 MB / 1.679 GB, free: 50.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/4.237, allocations: 0.6457 MB / 1.679 GB, free: 50.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/4.237, allocations: 2.406 kB / 1.679 GB, free: 50.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003932/4.241, allocations: 1.437 MB / 1.681 GB, free: 49.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007256/4.242, allocations: 2.662 MB / 1.683 GB, free: 47.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/4.242, allocations: 9.406 kB / 1.683 GB, free: 47.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.278e-05/4.242, allocations: 20 kB / 1.683 GB, free: 47.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/4.244, allocations: 306.1 kB / 1.683 GB, free: 47.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.175e-05/4.244, allocations: 19.06 kB / 1.683 GB, free: 47.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/4.246, allocations: 270.2 kB / 1.684 GB, free: 47.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/4.246, allocations: 57.03 kB / 1.684 GB, free: 47.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/4.246, allocations: 6.766 kB / 1.684 GB, free: 47.12 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003481/4.25, allocations: 1.301 MB / 1.685 GB, free: 47.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/4.25, allocations: 8.625 kB / 1.685 GB, free: 47.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/4.25, allocations: 11.62 kB / 1.685 GB, free: 47.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/4.251, allocations: 286.9 kB / 1.685 GB, free: 47.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.667e-05/4.251, allocations: 12.91 kB / 1.685 GB, free: 47.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/4.253, allocations: 227.4 kB / 1.686 GB, free: 47.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/4.254, allocations: 55.61 kB / 1.686 GB, free: 47.06 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.000566/4.254, allocations: 239 kB / 1.686 GB, free: 46.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005849/4.255, allocations: 139.7 kB / 1.686 GB, free: 46.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004042/4.259, allocations: 1.784 MB / 1.688 GB, free: 46.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/4.259, allocations: 11.23 kB / 1.688 GB, free: 46.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/4.259, allocations: 0 / 1.688 GB, free: 46.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/4.259, allocations: 3.047 kB / 1.688 GB, free: 46.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/4.261, allocations: 1.107 MB / 1.689 GB, free: 46.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/4.261, allocations: 5.656 kB / 1.689 GB, free: 46.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/4.263, allocations: 219.4 kB / 1.689 GB, free: 46.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.758e-05/4.263, allocations: 5.938 kB / 1.689 GB, free: 46.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.581e-05/4.263, allocations: 30.47 kB / 1.689 GB, free: 46.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-06/4.263, allocations: 6.688 kB / 1.689 GB, free: 46.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/4.263, allocations: 4.844 kB / 1.689 GB, free: 46.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003957/4.267, allocations: 2.05 MB / 1.691 GB, free: 46.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006552/4.267, allocations: 232.9 kB / 1.691 GB, free: 46.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000488/4.268, allocations: 11.05 kB / 1.691 GB, free: 46.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/4.269, allocations: 171.8 kB / 1.691 GB, free: 46.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/4.27, allocations: 60.14 kB / 1.692 GB, free: 46.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/4.27, allocations: 41.11 kB / 1.692 GB, free: 46.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001219/4.271, allocations: 0.6706 MB / 1.692 GB, free: 45.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.01e-07/4.271, allocations: 0 / 1.692 GB, free: 45.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00367/4.275, allocations: 0.859 MB / 1.693 GB, free: 45.85 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.002284/4.277, allocations: 0.8984 MB / 1.694 GB, free: 45.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00293/4.28, allocations: 1.954 MB / 1.696 GB, free: 45.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/4.28, allocations: 0 / 1.696 GB, free: 45.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007974/4.281, allocations: 0.7048 MB / 1.697 GB, free: 45.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002692/4.283, allocations: 452 kB / 1.697 GB, free: 45.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004746/4.288, allocations: 2.145 MB / 1.699 GB, free: 44.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009781/4.289, allocations: 1.257 MB / 1.7 GB, free: 43.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002605/4.292, allocations: 440.7 kB / 1.701 GB, free: 43.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/4.292, allocations: 107 kB / 1.701 GB, free: 43.73 MB / 0.6198 GB Notification: Performance of SimCode: time 1.352e-06/4.292, allocations: 0 / 1.701 GB, free: 43.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.05176/4.344, allocations: 28.56 MB / 1.729 GB, free: 41.84 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)