Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.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_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6988/0.6988, allocations: 132.3 MB / 144.9 MB, free: 10.54 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.001054/0.001055, allocations: 176.8 kB / 176.9 MB, free: 2.25 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.372/1.372, allocations: 170.5 MB / 379.3 MB, free: 11.88 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.001581/0.001582, allocations: 103.2 kB / 450 MB, free: 5.84 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.4685/0.4686, allocations: 73.39 MB / 0.6736 GB, free: 47.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.087/5.556, allocations: 2.144 GB / 2.818 GB, free: 171.5 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/5.556, allocations: 83.67 kB / 2.818 GB, free: 171.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.623/8.179, allocations: 0.8502 GB / 3.668 GB, free: 62.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.242e-06/8.179, allocations: 0 / 3.668 GB, free: 62.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001418/8.179, allocations: 39.98 kB / 3.668 GB, free: 62 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.004601/8.184, allocations: 2.085 MB / 3.67 GB, free: 59.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/8.184, allocations: 12.03 kB / 3.67 GB, free: 59.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003529/8.187, allocations: 0.5941 MB / 3.67 GB, free: 59.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003257/8.191, allocations: 1.517 MB / 3.672 GB, free: 57.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.41e-05/8.191, allocations: 98.44 kB / 3.672 GB, free: 57.58 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/8.191, allocations: 132 kB / 3.672 GB, free: 57.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/8.193, allocations: 1.42 MB / 3.674 GB, free: 55.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/8.194, allocations: 0 / 3.674 GB, free: 55.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/8.194, allocations: 52 kB / 3.674 GB, free: 55.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4e-05/8.194, allocations: 42.42 kB / 3.674 GB, free: 55.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/8.196, allocations: 1.111 MB / 3.675 GB, free: 54.77 MB / 0.6355 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.006972/8.203, allocations: 5.277 MB / 3.68 GB, free: 49.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/8.204, allocations: 0.8659 MB / 3.681 GB, free: 48.33 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/8.204, allocations: 428.2 kB / 3.681 GB, free: 47.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002829/8.205, allocations: 109.9 kB / 3.681 GB, free: 47.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009666/8.206, allocations: 0.6395 MB / 3.682 GB, free: 47.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=80): time 3.075e-06/8.206, allocations: 0 / 3.682 GB, free: 47.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=88): time 0.005698/8.211, allocations: 3.165 MB / 3.685 GB, free: 43.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/8.211, allocations: 491.4 kB / 3.685 GB, free: 43.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/8.213, allocations: 1.165 MB / 3.687 GB, free: 42.08 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.107e-05/8.213, allocations: 45.7 kB / 3.687 GB, free: 42.03 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004661/8.213, allocations: 0.7482 MB / 3.687 GB, free: 41.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/8.214, allocations: 307.5 kB / 3.688 GB, free: 40.97 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/8.214, allocations: 16 kB / 3.688 GB, free: 40.95 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.871e-05/8.214, allocations: 341.9 kB / 3.688 GB, free: 40.61 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/8.214, allocations: 369.9 kB / 3.688 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/8.215, allocations: 0.6484 MB / 3.689 GB, free: 39.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006275/8.221, allocations: 1.623 MB / 3.691 GB, free: 37.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/8.221, allocations: 0 / 3.691 GB, free: 37.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002593/8.224, allocations: 1.406 MB / 3.692 GB, free: 36.44 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002068/8.224, allocations: 1.112 MB / 3.693 GB, free: 35.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/8.224, allocations: 0 / 3.693 GB, free: 35.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005333/8.225, allocations: 242.4 kB / 3.693 GB, free: 34.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006966/8.225, allocations: 175.8 kB / 3.693 GB, free: 34.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003259/8.228, allocations: 4.553 MB / 3.698 GB, free: 29.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/8.23, allocations: 127.8 kB / 3.698 GB, free: 29.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-05/8.23, allocations: 43.98 kB / 3.698 GB, free: 29.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/8.23, allocations: 4.625 kB / 3.698 GB, free: 29.8 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001837/8.232, allocations: 1.278 MB / 3.699 GB, free: 28.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/8.232, allocations: 4 kB / 3.699 GB, free: 28.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004544/8.233, allocations: 222.5 kB / 3.7 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006663/8.233, allocations: 171.8 kB / 3.7 GB, free: 28.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003632/8.237, allocations: 5.517 MB / 3.705 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/8.239, allocations: 123.7 kB / 3.705 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.251e-05/8.239, allocations: 39.98 kB / 3.705 GB, free: 21.99 MB / 0.6355 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 8,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002995/8.239, allocations: 201.5 kB / 3.705 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/8.239, allocations: 166 kB / 3.706 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/8.241, allocations: 1.159 MB / 3.707 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/8.241, allocations: 12 kB / 3.707 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/8.241, allocations: 0 / 3.707 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001483/8.243, allocations: 1.025 MB / 3.708 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004238/8.247, allocations: 3.023 MB / 3.711 GB, free: 16.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/8.247, allocations: 4 kB / 3.711 GB, free: 16.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007589/8.248, allocations: 175.8 kB / 3.711 GB, free: 16.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001249/8.248, allocations: 60.89 kB / 3.711 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.179e-05/8.248, allocations: 27.98 kB / 3.711 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/8.25, allocations: 1.666 MB / 3.713 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/8.25, allocations: 4 kB / 3.713 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/8.252, allocations: 1.953 MB / 3.714 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000766/8.253, allocations: 363 kB / 3.715 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/8.253, allocations: 28 kB / 3.715 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/8.254, allocations: 107.8 kB / 3.715 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/8.254, allocations: 64.78 kB / 3.715 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.697e-05/8.254, allocations: 38.2 kB / 3.715 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001139/8.256, allocations: 0.9207 MB / 3.716 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/8.256, allocations: 0 / 3.716 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003009/8.259, allocations: 0.9335 MB / 3.717 GB, free: 9.602 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.T,heaDyn.vol.dynBal.medium.X[2],senTem2.T,con2.I.y) * Number of discrete variables: 5 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent) * Number of discrete states: 5 (TSet.last,TSet.nextEvent,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00283/8.261, allocations: 2.304 MB / 3.719 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002715/8.264, allocations: 2.305 MB / 3.721 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/8.264, allocations: 4 kB / 3.721 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006538/8.265, allocations: 0.6155 MB / 3.722 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003819/8.269, allocations: 0.8525 MB / 3.723 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004758/8.273, allocations: 2.522 MB / 3.725 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008946/8.274, allocations: 1.386 MB / 3.727 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002435/8.277, allocations: 0.509 MB / 3.727 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/8.277, allocations: 95.36 kB / 3.727 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of SimCode: time 8.92e-07/8.277, allocations: 0 / 3.727 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of Templates: time 0.4625/8.74, allocations: 67.64 MB / 3.793 GB, free: 82.73 MB / 0.6511 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)