Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7997/0.7997, allocations: 132.4 MB / 139.9 MB, free: 15.38 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.001059/0.001059, allocations: 168.1 kB / 171.8 MB, free: 2.066 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.572/1.572, allocations: 170.6 MB / 374.2 MB, free: 15.72 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.001725/0.001725, allocations: 127.1 kB / 444.8 MB, free: 9.238 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.5233/0.5233, allocations: 73.39 MB / 0.6666 GB, free: 46.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8572/1.381, allocations: 365.4 MB / 1.023 GB, free: 41.49 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/1.381, allocations: 87.77 kB / 1.023 GB, free: 41.45 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 9.608/10.99, allocations: 2.335 GB / 3.358 GB, free: 33.84 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.025e-06/10.99, allocations: 0 / 3.358 GB, free: 33.84 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0009582/10.99, allocations: 164.8 kB / 3.358 GB, free: 33.81 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1007 * Number of variables: 1007 Notification: Performance of Generate backend data structure: time 0.02008/11.01, allocations: 5.866 MB / 3.364 GB, free: 30.81 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/11.01, allocations: 14.44 kB / 3.364 GB, free: 30.8 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00507/11.02, allocations: 0.7691 MB / 3.365 GB, free: 30.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1163/11.13, allocations: 57.11 MB / 3.42 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006356/11.13, allocations: 458.8 kB / 3.421 GB, free: 25.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001663/11.13, allocations: 261.3 kB / 3.421 GB, free: 25.9 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006369/11.14, allocations: 2.416 MB / 3.423 GB, free: 24.95 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006593/11.15, allocations: 3.631 MB / 3.427 GB, free: 23.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/11.15, allocations: 22.36 kB / 3.427 GB, free: 23.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004386/11.15, allocations: 11.28 kB / 3.427 GB, free: 23.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/11.15, allocations: 121.2 kB / 3.427 GB, free: 23.02 MB / 0.7448 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.03367/11.18, allocations: 23.72 MB / 3.45 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002878/11.18, allocations: 2.46 MB / 3.453 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/11.19, allocations: 1.093 MB / 3.454 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003396/11.19, allocations: 3.614 MB / 3.457 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.55e-05/11.19, allocations: 60.56 kB / 3.457 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=224): time 5.19e-06/11.19, allocations: 0 / 3.457 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of matching and sorting (n=234): time 0.03811/11.23, allocations: 8.129 MB / 3.465 GB, free: 4.418 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.414e-05/11.23, allocations: 124.8 kB / 3.465 GB, free: 4.273 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009895/11.24, allocations: 3.095 MB / 3.468 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001362/11.24, allocations: 33.7 kB / 3.469 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.8475/12.09, allocations: 2.673 MB / 3.471 GB, free: 50.34 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001834/12.09, allocations: 0.7814 MB / 3.472 GB, free: 50.2 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/12.09, allocations: 1 kB / 3.472 GB, free: 50.2 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002343/12.09, allocations: 408.6 kB / 3.472 GB, free: 49.89 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001778/12.09, allocations: 0.7829 MB / 3.473 GB, free: 49.88 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002725/12.09, allocations: 1.946 MB / 3.475 GB, free: 48.54 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004329/12.1, allocations: 1.409 MB / 3.476 GB, free: 48.52 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.692e-05/12.1, allocations: 7.969 kB / 3.476 GB, free: 48.52 MB / 0.7605 GB Notification: Performance of matching and sorting (n=350) (initialization): time 0.01748/12.12, allocations: 4.501 MB / 3.481 GB, free: 48.17 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.002868/12.12, allocations: 11.13 MB / 3.492 GB, free: 36.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.245e-05/12.12, allocations: 24.78 kB / 3.492 GB, free: 36.48 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/12.12, allocations: 0.5939 MB / 3.492 GB, free: 36.45 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/12.12, allocations: 0.5668 MB / 3.493 GB, free: 36.45 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/12.12, allocations: 2.964 MB / 3.496 GB, free: 34.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00748/12.13, allocations: 474 kB / 3.496 GB, free: 34.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007995/12.13, allocations: 138.4 kB / 3.496 GB, free: 34.34 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/12.13, allocations: 5.875 kB / 3.496 GB, free: 34.34 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008831/12.14, allocations: 2.78 MB / 3.499 GB, free: 34.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-05/12.14, allocations: 24.16 kB / 3.499 GB, free: 34.24 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009678/12.14, allocations: 373.9 kB / 3.499 GB, free: 34.21 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/12.14, allocations: 0.5692 MB / 3.5 GB, free: 34.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00817/12.15, allocations: 8.027 MB / 3.508 GB, free: 28.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00661/12.16, allocations: 391.9 kB / 3.508 GB, free: 28.29 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007455/12.16, allocations: 130.5 kB / 3.508 GB, free: 28.29 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (300): * Single equations (assignments): 296 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 11,1 14,1 11,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.001277/12.16, allocations: 191.9 kB / 3.508 GB, free: 28.19 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002208/12.16, allocations: 0.4896 MB / 3.509 GB, free: 27.93 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01705/12.18, allocations: 5.147 MB / 3.514 GB, free: 27.57 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001341/12.18, allocations: 45.66 kB / 3.514 GB, free: 27.57 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/12.18, allocations: 0 / 3.514 GB, free: 27.57 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01369/12.19, allocations: 3.99 MB / 3.518 GB, free: 27.28 MB / 0.7605 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 postOpt removeSimpleEquations (simulation): time 0.02904/12.22, allocations: 9.759 MB / 3.527 GB, free: 25.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.531e-05/12.22, allocations: 7.125 kB / 3.527 GB, free: 25.59 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/12.23, allocations: 328.4 kB / 3.528 GB, free: 25.59 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001678/12.23, allocations: 0.8144 MB / 3.529 GB, free: 25.48 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002749/12.23, allocations: 50.09 kB / 3.529 GB, free: 25.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0182/12.25, allocations: 14.12 MB / 3.542 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.621e-05/12.25, allocations: 9.281 kB / 3.542 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02046/12.27, allocations: 6.881 MB / 3.549 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004653/12.27, allocations: 0.9478 MB / 3.55 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002022/12.27, allocations: 19.39 kB / 3.55 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006399/12.28, allocations: 0.5351 MB / 3.551 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006183/12.28, allocations: 204 kB / 3.551 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005165/12.28, allocations: 134.8 kB / 3.551 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.005224/12.29, allocations: 2.295 MB / 3.553 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.41e-07/12.29, allocations: 0 / 3.553 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01969/12.31, allocations: 3.007 MB / 3.556 GB, free: 12.63 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (224): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 14 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 14 {1 3,1 3,1 7,1 3,1 3,1 3,1 9,1 3,1 3,1 7,1 3,1 3,1 3,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.008263/12.31, allocations: 3.351 MB / 3.559 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01066/12.32, allocations: 4.508 MB / 3.564 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.589e-05/12.32, allocations: 4.594 kB / 3.564 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004639/12.33, allocations: 1.943 MB / 3.566 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01887/12.35, allocations: 2.661 MB / 3.568 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02181/12.37, allocations: 7.338 MB / 3.575 GB, free: 8.223 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005078/12.38, allocations: 2.996 MB / 3.578 GB, free: 7.344 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.01121/12.39, allocations: 1.48 MB / 3.58 GB, free: 7.102 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/12.39, allocations: 321.4 kB / 3.58 GB, free: 7.098 MB / 0.7605 GB Notification: Performance of SimCode: time 2.495e-06/12.39, allocations: 0 / 3.58 GB, free: 7.098 MB / 0.7605 GB Notification: Performance of Templates: time 0.2399/12.63, allocations: 127.3 MB / 3.704 GB, free: 7.723 MB / 0.7761 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)