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.8435/0.8435, allocations: 133.7 MB / 148.6 MB, free: 13.62 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.00124/0.00124, allocations: 180 kB / 180.9 MB, free: 15.07 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.623/1.623, allocations: 170.7 MB / 383.7 MB, free: 16.11 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.001909/0.001909, allocations: 110.6 kB / 454.6 MB, free: 9.715 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.1746/0.1751, allocations: 73.41 MB / 0.6812 GB, free: 5.543 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.16/5.335, allocations: 2.144 GB / 2.825 GB, free: 60.52 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/5.336, allocations: 92.94 kB / 2.825 GB, free: 60.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.574/8.91, allocations: 0.8513 GB / 3.677 GB, free: 67.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.248e-06/8.91, allocations: 3.25 kB / 3.677 GB, free: 67.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002511/8.91, allocations: 41.3 kB / 3.677 GB, free: 67.28 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.009896/8.92, allocations: 2.384 MB / 3.679 GB, free: 66.22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/8.92, allocations: 7.875 kB / 3.679 GB, free: 66.22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005295/8.925, allocations: 0.5968 MB / 3.679 GB, free: 66.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006938/8.932, allocations: 1.526 MB / 3.681 GB, free: 65.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/8.933, allocations: 98.53 kB / 3.681 GB, free: 65.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005033/8.933, allocations: 127.1 kB / 3.681 GB, free: 65.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004683/8.938, allocations: 1.491 MB / 3.683 GB, free: 65.61 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.192e-05/8.938, allocations: 0 / 3.683 GB, free: 65.61 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001869/8.938, allocations: 50.16 kB / 3.683 GB, free: 65.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-05/8.938, allocations: 41.17 kB / 3.683 GB, free: 65.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/8.941, allocations: 1.221 MB / 3.684 GB, free: 65.59 MB / 0.6355 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.01147/8.953, allocations: 5.278 MB / 3.689 GB, free: 63.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/8.955, allocations: 0.9734 MB / 3.69 GB, free: 63.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003659/8.955, allocations: 116.2 kB / 3.69 GB, free: 63.53 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00154/8.957, allocations: 0.6916 MB / 3.691 GB, free: 63.35 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=80): time 5.47e-06/8.957, allocations: 0 / 3.691 GB, free: 63.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=88): time 0.01329/8.97, allocations: 4.021 MB / 3.695 GB, free: 61.97 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002521/8.97, allocations: 478.2 kB / 3.695 GB, free: 61.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003683/8.974, allocations: 1.19 MB / 3.696 GB, free: 61.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002659/8.974, allocations: 46.88 kB / 3.696 GB, free: 61.22 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001249/8.976, allocations: 0.7429 MB / 3.697 GB, free: 60.97 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005044/8.976, allocations: 310.5 kB / 3.697 GB, free: 60.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/8.976, allocations: 20.06 kB / 3.697 GB, free: 60.78 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001167/8.976, allocations: 339.5 kB / 3.698 GB, free: 60.47 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009956/8.977, allocations: 425.9 kB / 3.698 GB, free: 60.47 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/8.979, allocations: 0.7004 MB / 3.699 GB, free: 60.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008644/8.988, allocations: 1.697 MB / 3.701 GB, free: 60.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/8.988, allocations: 0 / 3.701 GB, free: 60.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005335/8.993, allocations: 1.49 MB / 3.702 GB, free: 59.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005485/8.994, allocations: 1.126 MB / 3.703 GB, free: 58.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/8.994, allocations: 0.9688 kB / 3.703 GB, free: 58.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008708/8.994, allocations: 249.5 kB / 3.703 GB, free: 58.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009632/8.995, allocations: 172 kB / 3.703 GB, free: 58.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00483/9, allocations: 4.651 MB / 3.708 GB, free: 55.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/9.003, allocations: 136 kB / 3.708 GB, free: 55.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/9.003, allocations: 37.81 kB / 3.708 GB, free: 55.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/9.003, allocations: 6 kB / 3.708 GB, free: 55.49 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00306/9.006, allocations: 1.35 MB / 3.71 GB, free: 55.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/9.006, allocations: 2.875 kB / 3.71 GB, free: 55.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005652/9.007, allocations: 227.8 kB / 3.71 GB, free: 55.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008288/9.008, allocations: 167.1 kB / 3.71 GB, free: 55.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005024/9.013, allocations: 5.588 MB / 3.715 GB, free: 51.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/9.015, allocations: 127.5 kB / 3.715 GB, free: 51.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/9.015, allocations: 41.89 kB / 3.716 GB, free: 51.29 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 () * Number of clocked 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.001709/9.017, allocations: 0.5035 MB / 3.716 GB, free: 51.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000661/9.018, allocations: 164.1 kB / 3.716 GB, free: 50.99 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003728/9.021, allocations: 1.283 MB / 3.717 GB, free: 50.87 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/9.021, allocations: 16.52 kB / 3.717 GB, free: 50.86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/9.021, allocations: 2.969 kB / 3.717 GB, free: 50.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002469/9.024, allocations: 1.136 MB / 3.719 GB, free: 50.64 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00942/9.033, allocations: 3.125 MB / 3.722 GB, free: 49.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.812e-05/9.033, allocations: 3.969 kB / 3.722 GB, free: 49.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/9.034, allocations: 174.5 kB / 3.722 GB, free: 49.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003189/9.035, allocations: 68.5 kB / 3.722 GB, free: 49.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/9.035, allocations: 26.78 kB / 3.722 GB, free: 49.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003217/9.038, allocations: 1.773 MB / 3.724 GB, free: 48.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/9.038, allocations: 3.719 kB / 3.724 GB, free: 48.57 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004519/9.043, allocations: 2.094 MB / 3.726 GB, free: 47.96 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/9.044, allocations: 360.9 kB / 3.726 GB, free: 47.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000779/9.045, allocations: 37.36 kB / 3.726 GB, free: 47.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/9.047, allocations: 114.2 kB / 3.726 GB, free: 47.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/9.047, allocations: 62.39 kB / 3.726 GB, free: 47.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/9.047, allocations: 34.06 kB / 3.726 GB, free: 47.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002443/9.05, allocations: 0.9302 MB / 3.727 GB, free: 47.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.11e-07/9.05, allocations: 0 / 3.727 GB, free: 47.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.006076/9.056, allocations: 0.936 MB / 3.728 GB, free: 47.64 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.Xi[1],heaDyn.vol.dynBal.medium.T,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) * Number of clocked states: 0 () * 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.005045/9.061, allocations: 2.316 MB / 3.73 GB, free: 46.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005427/9.067, allocations: 2.39 MB / 3.733 GB, free: 46.12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/9.067, allocations: 7.406 kB / 3.733 GB, free: 46.11 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/9.068, allocations: 0.6766 MB / 3.733 GB, free: 45.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005894/9.074, allocations: 0.8489 MB / 3.734 GB, free: 45.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/9.084, allocations: 3.784 MB / 3.738 GB, free: 44.33 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/9.086, allocations: 1.392 MB / 3.739 GB, free: 43.61 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002528/9.088, allocations: 353.3 kB / 3.74 GB, free: 43.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004984/9.089, allocations: 109.2 kB / 3.74 GB, free: 43.59 MB / 0.6355 GB Notification: Performance of SimCode: time 1.993e-06/9.089, allocations: 0 / 3.74 GB, free: 43.59 MB / 0.6355 GB Notification: Performance of Templates: time 0.09069/9.179, allocations: 59.02 MB / 3.797 GB, free: 25.65 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)