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 1.007/1.007, allocations: 132.4 MB / 139.9 MB, free: 2.828 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001074/0.001074, allocations: 185.7 kB / 171.8 MB, free: 4.914 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.519/1.519, allocations: 170.6 MB / 374.2 MB, free: 176 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001723/0.001723, allocations: 110.3 kB / 444.8 MB, free: 14.16 MB / 314.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.1705/0.1706, allocations: 73.41 MB / 0.6666 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.458, allocations: 365.4 MB / 1.023 GB, free: 93.12 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/1.459, allocations: 95.38 kB / 1.024 GB, free: 93.07 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 10.61/12.07, allocations: 2.335 GB / 3.358 GB, free: 34.18 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.295e-06/12.07, allocations: 3.375 kB / 3.358 GB, free: 34.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.001422/12.07, allocations: 163.9 kB / 3.358 GB, free: 34.15 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.02521/12.09, allocations: 5.871 MB / 3.364 GB, free: 31.15 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/12.09, allocations: 9.188 kB / 3.364 GB, free: 31.15 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007171/12.1, allocations: 0.7648 MB / 3.365 GB, free: 30.79 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1478/12.25, allocations: 57.11 MB / 3.42 GB, free: 26.47 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006409/12.25, allocations: 456.7 kB / 3.421 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001961/12.25, allocations: 256.3 kB / 3.421 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006694/12.26, allocations: 2.424 MB / 3.423 GB, free: 25.17 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006674/12.26, allocations: 3.634 MB / 3.427 GB, free: 23.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001082/12.26, allocations: 22.77 kB / 3.427 GB, free: 23.24 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003923/12.26, allocations: 11.06 kB / 3.427 GB, free: 23.24 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001299/12.27, allocations: 117.5 kB / 3.427 GB, free: 23.23 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.02918/12.29, allocations: 23.72 MB / 3.45 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003053/12.3, allocations: 2.455 MB / 3.453 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/12.3, allocations: 1.092 MB / 3.454 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004092/12.3, allocations: 3.613 MB / 3.457 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/12.3, allocations: 68.59 kB / 3.457 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=224): time 5.831e-06/12.3, allocations: 4 kB / 3.457 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of matching and sorting (n=234): time 0.03744/12.34, allocations: 8.111 MB / 3.465 GB, free: 4.523 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.233e-05/12.34, allocations: 128.8 kB / 3.465 GB, free: 4.375 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006877/12.35, allocations: 3.099 MB / 3.468 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001187/12.35, allocations: 33.7 kB / 3.469 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.8544/13.2, allocations: 2.678 MB / 3.471 GB, free: 50.58 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001727/13.21, allocations: 0.781 MB / 3.472 GB, free: 50.43 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/13.21, allocations: 2.812 kB / 3.472 GB, free: 50.43 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000214/13.21, allocations: 406.5 kB / 3.472 GB, free: 50.12 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/13.21, allocations: 0.7812 MB / 3.473 GB, free: 50.12 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002715/13.21, allocations: 1.946 MB / 3.475 GB, free: 48.77 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005041/13.21, allocations: 1.403 MB / 3.476 GB, free: 48.76 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.641e-05/13.21, allocations: 7.188 kB / 3.476 GB, free: 48.76 MB / 0.7605 GB Notification: Performance of matching and sorting (n=350) (initialization): time 0.01927/13.23, allocations: 4.517 MB / 3.481 GB, free: 48.39 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.004874/13.24, allocations: 11.13 MB / 3.492 GB, free: 36.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001029/13.24, allocations: 27.17 kB / 3.492 GB, free: 36.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/13.24, allocations: 0.5946 MB / 3.492 GB, free: 36.67 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002903/13.24, allocations: 0.5671 MB / 3.493 GB, free: 36.67 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003046/13.25, allocations: 2.962 MB / 3.496 GB, free: 34.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008031/13.25, allocations: 473 kB / 3.496 GB, free: 34.57 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/13.26, allocations: 140.9 kB / 3.496 GB, free: 34.57 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/13.26, allocations: 6.625 kB / 3.496 GB, free: 34.57 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008836/13.26, allocations: 2.782 MB / 3.499 GB, free: 34.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-05/13.27, allocations: 22.62 kB / 3.499 GB, free: 34.47 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/13.27, allocations: 371.7 kB / 3.499 GB, free: 34.44 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/13.27, allocations: 0.5686 MB / 3.5 GB, free: 34.44 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009906/13.28, allocations: 8.026 MB / 3.508 GB, free: 28.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007392/13.29, allocations: 389.9 kB / 3.508 GB, free: 28.53 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/13.29, allocations: 133.5 kB / 3.508 GB, free: 28.53 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.001556/13.29, allocations: 194.1 kB / 3.508 GB, free: 28.41 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002316/13.29, allocations: 495.8 kB / 3.509 GB, free: 28.16 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0187/13.31, allocations: 5.161 MB / 3.514 GB, free: 27.8 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001613/13.31, allocations: 41.22 kB / 3.514 GB, free: 27.8 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/13.31, allocations: 3.156 kB / 3.514 GB, free: 27.8 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01417/13.32, allocations: 3.986 MB / 3.518 GB, free: 27.5 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.03233/13.36, allocations: 9.763 MB / 3.527 GB, free: 25.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.394e-05/13.36, allocations: 10 kB / 3.527 GB, free: 25.82 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/13.36, allocations: 320.1 kB / 3.528 GB, free: 25.82 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001922/13.36, allocations: 0.8137 MB / 3.528 GB, free: 25.71 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004004/13.36, allocations: 48.34 kB / 3.529 GB, free: 25.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01847/13.38, allocations: 14.13 MB / 3.542 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-05/13.38, allocations: 7.938 kB / 3.542 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02/13.4, allocations: 6.883 MB / 3.549 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00745/13.41, allocations: 0.9479 MB / 3.55 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003235/13.41, allocations: 14.62 kB / 3.55 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00753/13.42, allocations: 0.5355 MB / 3.551 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008799/13.42, allocations: 204.8 kB / 3.551 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005996/13.42, allocations: 140.6 kB / 3.551 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.006524/13.43, allocations: 2.289 MB / 3.553 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7.51e-07/13.43, allocations: 0.6562 kB / 3.553 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.02689/13.45, allocations: 3.008 MB / 3.556 GB, free: 12.85 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.01089/13.46, allocations: 3.349 MB / 3.559 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01076/13.47, allocations: 4.505 MB / 3.564 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.156e-05/13.47, allocations: 2.281 kB / 3.564 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0036/13.48, allocations: 1.947 MB / 3.566 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01736/13.5, allocations: 2.659 MB / 3.568 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/13.51, allocations: 7.334 MB / 3.575 GB, free: 8.453 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002941/13.52, allocations: 2.993 MB / 3.578 GB, free: 7.574 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.009776/13.53, allocations: 1.488 MB / 3.58 GB, free: 7.332 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000965/13.53, allocations: 319 kB / 3.58 GB, free: 7.328 MB / 0.7605 GB Notification: Performance of SimCode: time 3.397e-06/13.53, allocations: 0 / 3.58 GB, free: 7.328 MB / 0.7605 GB Notification: Performance of Templates: time 0.3524/13.88, allocations: 127.3 MB / 3.704 GB, free: 8.016 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)