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.8027/0.8027, allocations: 132.4 MB / 139.9 MB, free: 2.859 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: 169.5 kB / 171.8 MB, free: 4.957 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.384/1.384, allocations: 170.6 MB / 374.2 MB, free: 208 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.0017/0.0017, allocations: 111.5 kB / 444.8 MB, free: 14.17 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.1349/0.135, allocations: 73.42 MB / 0.6666 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.454/5.59, allocations: 2.143 GB / 2.81 GB, free: 71.74 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/5.59, allocations: 90.05 kB / 2.81 GB, free: 71.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.324/8.914, allocations: 0.8407 GB / 3.651 GB, free: 81.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.195e-06/8.914, allocations: 0 / 3.651 GB, free: 81.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002734/8.914, allocations: 47.84 kB / 3.651 GB, free: 81.9 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.00611/8.92, allocations: 2.088 MB / 3.653 GB, free: 81.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/8.92, allocations: 9.906 kB / 3.653 GB, free: 81.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004083/8.924, allocations: 0.5969 MB / 3.653 GB, free: 80.96 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004311/8.929, allocations: 1.511 MB / 3.655 GB, free: 80.63 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-05/8.929, allocations: 41.97 kB / 3.655 GB, free: 80.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004677/8.929, allocations: 83.38 kB / 3.655 GB, free: 80.63 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002557/8.932, allocations: 1.009 MB / 3.656 GB, free: 80.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003318/8.935, allocations: 1.209 MB / 3.657 GB, free: 80.47 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.674e-05/8.935, allocations: 3.516 kB / 3.657 GB, free: 80.47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002653/8.936, allocations: 0 / 3.657 GB, free: 80.47 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-05/8.936, allocations: 42.8 kB / 3.657 GB, free: 80.46 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.009757/8.945, allocations: 4.98 MB / 3.662 GB, free: 78.76 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009814/8.946, allocations: 0.8121 MB / 3.663 GB, free: 78.64 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000473/8.947, allocations: 391.8 kB / 3.663 GB, free: 78.63 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002862/8.947, allocations: 108 kB / 3.663 GB, free: 78.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007419/8.948, allocations: 0.5822 MB / 3.664 GB, free: 78.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=80): time 3.065e-06/8.948, allocations: 0 / 3.664 GB, free: 78.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=88): time 0.007279/8.955, allocations: 3.07 MB / 3.667 GB, free: 77.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/8.955, allocations: 482 kB / 3.667 GB, free: 76.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/8.957, allocations: 0.8798 MB / 3.668 GB, free: 76.69 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001394/8.957, allocations: 29.67 kB / 3.668 GB, free: 76.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006081/8.958, allocations: 0.753 MB / 3.669 GB, free: 76.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/8.958, allocations: 302.9 kB / 3.669 GB, free: 76.26 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/8.958, allocations: 0 / 3.669 GB, free: 76.26 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.82e-05/8.958, allocations: 340.5 kB / 3.67 GB, free: 75.96 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/8.958, allocations: 349.5 kB / 3.67 GB, free: 75.96 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006144/8.959, allocations: 0.6244 MB / 3.67 GB, free: 75.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003338/8.962, allocations: 1.218 MB / 3.672 GB, free: 75.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/8.962, allocations: 2.594 kB / 3.672 GB, free: 75.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002828/8.965, allocations: 1.359 MB / 3.673 GB, free: 75.37 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000248/8.966, allocations: 1.107 MB / 3.674 GB, free: 74.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/8.966, allocations: 3.781 kB / 3.674 GB, free: 74.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005444/8.966, allocations: 234.2 kB / 3.674 GB, free: 74.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000757/8.967, allocations: 174.5 kB / 3.674 GB, free: 74.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003705/8.971, allocations: 4.361 MB / 3.679 GB, free: 71.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/8.972, allocations: 109.7 kB / 3.679 GB, free: 71.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/8.972, allocations: 34.09 kB / 3.679 GB, free: 71.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/8.973, allocations: 6.656 kB / 3.679 GB, free: 71.21 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002201/8.975, allocations: 1.223 MB / 3.68 GB, free: 71.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/8.975, allocations: 3.844 kB / 3.68 GB, free: 71.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004781/8.975, allocations: 214.2 kB / 3.68 GB, free: 71.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007316/8.976, allocations: 176.5 kB / 3.68 GB, free: 71.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003969/8.98, allocations: 5.269 MB / 3.686 GB, free: 67.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/8.982, allocations: 103.2 kB / 3.686 GB, free: 67.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/8.982, allocations: 35.55 kB / 3.686 GB, free: 67.19 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaDyn.vol.dynBal.medium.dT:DUMMY_STATE(unit = "K" protected = true final = true ) "Temperature difference used to compute enthalpy" type: Real 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.0004892/8.982, allocations: 167.9 kB / 3.686 GB, free: 67.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003981/8.983, allocations: 143.6 kB / 3.686 GB, free: 66.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/8.985, allocations: 1.097 MB / 3.687 GB, free: 66.89 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/8.985, allocations: 10.75 kB / 3.687 GB, free: 66.89 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/8.985, allocations: 2.625 kB / 3.687 GB, free: 66.89 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001825/8.987, allocations: 1.001 MB / 3.688 GB, free: 66.71 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005463/8.993, allocations: 2.814 MB / 3.691 GB, free: 66.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/8.993, allocations: 0 / 3.691 GB, free: 66.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008512/8.993, allocations: 174.4 kB / 3.691 GB, free: 66.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000129/8.994, allocations: 55.14 kB / 3.691 GB, free: 66.08 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-05/8.994, allocations: 18.45 kB / 3.691 GB, free: 66.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/8.995, allocations: 1.621 MB / 3.693 GB, free: 64.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/8.996, allocations: 6.062 kB / 3.693 GB, free: 64.74 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/8.998, allocations: 1.871 MB / 3.694 GB, free: 64.17 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007935/8.999, allocations: 335.9 kB / 3.695 GB, free: 64.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003499/8.999, allocations: 9.781 kB / 3.695 GB, free: 64.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/9.001, allocations: 94.67 kB / 3.695 GB, free: 64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/9.001, allocations: 60.83 kB / 3.695 GB, free: 64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/9.001, allocations: 40.59 kB / 3.695 GB, free: 64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001031/9.002, allocations: 0.6759 MB / 3.696 GB, free: 63.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.6e-07/9.002, allocations: 192 / 3.696 GB, free: 63.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003756/9.006, allocations: 0.8502 MB / 3.696 GB, free: 63.87 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.003333/9.009, allocations: 2.579 MB / 3.699 GB, free: 63.05 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00273/9.012, allocations: 2.181 MB / 3.701 GB, free: 62.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/9.012, allocations: 3.375 kB / 3.701 GB, free: 62.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006654/9.013, allocations: 0.5928 MB / 3.702 GB, free: 62.19 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003189/9.016, allocations: 0.6524 MB / 3.702 GB, free: 62.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005445/9.021, allocations: 2.432 MB / 3.705 GB, free: 61.47 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/9.022, allocations: 1.392 MB / 3.706 GB, free: 60.75 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002308/9.025, allocations: 426.2 kB / 3.706 GB, free: 60.74 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/9.025, allocations: 82.88 kB / 3.707 GB, free: 60.73 MB / 0.6355 GB Notification: Performance of SimCode: time 1.874e-06/9.025, allocations: 0 / 3.707 GB, free: 60.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.0638/9.089, allocations: 42.54 MB / 3.748 GB, free: 58.18 MB / 0.6355 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)