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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.2265/0.2272, allocations: 82.22 MB / 0.5941 GB, free: 5.609 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.7768/1.004, allocations: 249.7 MB / 0.838 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0174/1.022, allocations: 8.692 MB / 0.8465 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003621/1.025, allocations: 63.56 kB / 0.8465 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003548/1.029, allocations: 0.8472 MB / 0.8474 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009066/1.038, allocations: 2.361 MB / 0.8497 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00733/1.045, allocations: 2.042 MB / 0.8517 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008673/1.054, allocations: 5.832 MB / 0.8573 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002636/1.057, allocations: 1.336 MB / 0.8587 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004257/1.061, allocations: 1.587 MB / 0.8602 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003281/1.064, allocations: 1.345 MB / 0.8615 GB, free: 244 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003176/1.065, allocations: 68 kB / 0.8616 GB, free: 176 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006844/1.071, allocations: 2.892 MB / 0.8644 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009054/1.072, allocations: 0.5371 MB / 0.8649 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001888/1.074, allocations: 0.9769 MB / 0.8659 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008013/1.082, allocations: 3.694 MB / 0.8695 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.082, allocations: 4 kB / 0.8695 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.374e-06/1.082, allocations: 0 / 0.8695 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.007e-05/1.082, allocations: 0 / 0.8695 GB, free: 8.039 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.005186/1.088, allocations: 2.177 MB / 0.8716 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 7.516e-05/1.088, allocations: 8.031 kB / 0.8716 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004045/1.092, allocations: 0.6297 MB / 0.8722 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/1.095, allocations: 1.328 MB / 0.8735 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004369/1.095, allocations: 174.5 kB / 0.8737 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002742/1.095, allocations: 135.9 kB / 0.8738 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003704/1.099, allocations: 1.712 MB / 0.8755 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/1.099, allocations: 4 kB / 0.8755 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/1.099, allocations: 56 kB / 0.8756 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-05/1.099, allocations: 46.5 kB / 0.8756 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003822/1.103, allocations: 1.485 MB / 0.8771 GB, free: 92 kB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01073/1.114, allocations: 6.124 MB / 0.883 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002848/1.117, allocations: 1.162 MB / 0.8842 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/1.118, allocations: 0.5346 MB / 0.8847 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003969/1.118, allocations: 141.6 kB / 0.8848 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001973/1.12, allocations: 0.8288 MB / 0.8856 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=84): time 2.625e-06/1.12, allocations: 0 / 0.8856 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of matching and sorting (n=92): time 0.01283/1.133, allocations: 4.691 MB / 0.8902 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000209/1.133, allocations: 432.2 kB / 0.8906 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/1.136, allocations: 1.491 MB / 0.8921 GB, free: 32 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003031/1.136, allocations: 46.44 kB / 0.8921 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007661/1.137, allocations: 0.7796 MB / 0.8929 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003319/1.137, allocations: 323.4 kB / 0.8932 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/1.137, allocations: 93.67 kB / 0.8933 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.137, allocations: 345.9 kB / 0.8936 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/1.139, allocations: 0.5491 MB / 0.8942 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/1.14, allocations: 0.8678 MB / 0.895 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01494/1.155, allocations: 4.094 MB / 0.899 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/1.155, allocations: 4 kB / 0.899 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.005279/1.16, allocations: 1.971 MB / 0.9009 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001868/1.161, allocations: 243.5 kB / 0.9012 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.161, allocations: 4 kB / 0.9012 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008456/1.162, allocations: 314.4 kB / 0.9015 GB, free: 6.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009816/1.163, allocations: 223.7 kB / 0.9017 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00881/1.171, allocations: 6.272 MB / 0.9078 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/1.174, allocations: 206.2 kB / 0.908 GB, free: 15 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.174, allocations: 39.98 kB / 0.908 GB, free: 14.96 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/1.174, allocations: 4 kB / 0.908 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003039/1.177, allocations: 1.456 MB / 0.9095 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/1.177, allocations: 12.16 kB / 0.9095 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005554/1.177, allocations: 218.6 kB / 0.9097 GB, free: 13.24 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009038/1.178, allocations: 207.7 kB / 0.9099 GB, free: 13.04 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005524/1.184, allocations: 5.491 MB / 0.9153 GB, free: 7.137 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/1.186, allocations: 163.7 kB / 0.9154 GB, free: 6.977 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.689e-05/1.186, allocations: 47.98 kB / 0.9155 GB, free: 6.93 MB / 0.67 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: 17 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.local_reset,con1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 105 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,8), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001107/1.187, allocations: 0.541 MB / 0.916 GB, free: 6.379 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/1.187, allocations: 173.9 kB / 0.9161 GB, free: 6.207 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004096/1.192, allocations: 1.599 MB / 0.9177 GB, free: 4.586 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/1.192, allocations: 8 kB / 0.9177 GB, free: 4.578 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/1.192, allocations: 0 / 0.9177 GB, free: 4.578 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003559/1.195, allocations: 1.447 MB / 0.9191 GB, free: 3.094 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007155/1.202, allocations: 3.541 MB / 0.9226 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/1.202, allocations: 4 kB / 0.9226 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/1.203, allocations: 200.1 kB / 0.9228 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004029/1.204, allocations: 148.6 kB / 0.9229 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.004e-05/1.204, allocations: 31.97 kB / 0.923 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004063/1.208, allocations: 2.173 MB / 0.9251 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.208, allocations: 4.172 kB / 0.9251 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005705/1.214, allocations: 2.354 MB / 0.9274 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009847/1.215, allocations: 382.9 kB / 0.9277 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/1.215, allocations: 31.98 kB / 0.9278 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/1.216, allocations: 139.8 kB / 0.9279 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/1.217, allocations: 68.45 kB / 0.928 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-05/1.217, allocations: 31.98 kB / 0.928 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0016/1.218, allocations: 1.014 MB / 0.929 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/1.218, allocations: 0 / 0.929 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002679/1.221, allocations: 0.7734 MB / 0.9297 GB, free: 7.871 MB / 0.6856 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.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006943/1.222, allocations: 272.5 kB / 0.93 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005298/1.227, allocations: 2.913 MB / 0.9329 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.227, allocations: 0 / 0.9329 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/1.228, allocations: 0.7952 MB / 0.9336 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005055/1.234, allocations: 0.8895 MB / 0.9345 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007553/1.241, allocations: 4.133 MB / 0.9385 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/1.242, allocations: 1.385 MB / 0.9399 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001999/1.244, allocations: 349.3 kB / 0.9402 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/1.245, allocations: 115.4 kB / 0.9403 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of SimCode: time 1.163e-06/1.245, allocations: 0 / 0.9403 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of Templates: time 0.4275/1.672, allocations: 36.81 MB / 0.9763 GB, free: 277.6 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: