Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json 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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 100.6 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.579/1.579, allocations: 251.9 MB / 0.51 GB, free: 4.832 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005736/0.0005737, allocations: 16 kB / 0.6241 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6023/0.6029, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.7548/1.358, allocations: 210.2 MB / 0.9332 GB, free: 16.28 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02315/1.381, allocations: 15.84 MB / 0.9487 GB, free: 16.06 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004086/1.385, allocations: 64.88 kB / 0.9487 GB, free: 16.06 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00506/1.39, allocations: 0.998 MB / 0.9497 GB, free: 16.05 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01363/1.404, allocations: 3.229 MB / 0.9529 GB, free: 16.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00695/1.411, allocations: 1.833 MB / 0.9547 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01203/1.423, allocations: 3.039 MB / 0.9576 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004747/1.428, allocations: 1.325 MB / 0.9589 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007619/1.435, allocations: 1.577 MB / 0.9605 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00373/1.439, allocations: 0.9801 MB / 0.9614 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000769/1.44, allocations: 68.31 kB / 0.9615 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005938/1.446, allocations: 1.3 MB / 0.9628 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001219/1.447, allocations: 438.1 kB / 0.9632 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001423/1.449, allocations: 440.1 kB / 0.9636 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005051/1.454, allocations: 2.463 MB / 0.966 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/1.454, allocations: 0 / 0.966 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/1.454, allocations: 0 / 0.966 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001407/1.454, allocations: 0 / 0.966 GB, free: 15.55 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.005943/1.46, allocations: 2.082 MB / 0.968 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/1.46, allocations: 12.88 kB / 0.968 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002439/1.462, allocations: 375.5 kB / 0.9684 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00376/1.466, allocations: 1.328 MB / 0.9697 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/1.466, allocations: 108.8 kB / 0.9698 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003688/1.467, allocations: 140.2 kB / 0.9699 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003895/1.47, allocations: 1.495 MB / 0.9714 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.524e-05/1.471, allocations: 3.047 kB / 0.9714 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002188/1.471, allocations: 58.16 kB / 0.9714 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.559e-05/1.471, allocations: 54.25 kB / 0.9715 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00271/1.474, allocations: 1.16 MB / 0.9726 GB, free: 13.7 MB / 0.7169 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.01024/1.484, allocations: 7.31 MB / 0.9798 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/1.485, allocations: 0.8601 MB / 0.9806 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006166/1.486, allocations: 0.5564 MB / 0.9812 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/1.486, allocations: 44.91 kB / 0.9812 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=74): time 3.236e-06/1.486, allocations: 3.062 kB / 0.9812 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=74): time 0.006897/1.493, allocations: 2.18 MB / 0.9833 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/1.493, allocations: 63.44 kB / 0.9834 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/1.495, allocations: 1.317 MB / 0.9847 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001322/1.495, allocations: 47.3 kB / 0.9847 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005836/1.496, allocations: 0.8039 MB / 0.9855 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/1.496, allocations: 258.7 kB / 0.9858 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/1.496, allocations: 14.5 kB / 0.9858 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.217e-05/1.496, allocations: 347.7 kB / 0.9861 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005745/1.497, allocations: 329.6 kB / 0.9864 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000717/1.498, allocations: 0.5633 MB / 0.987 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006989/1.499, allocations: 420.2 kB / 0.9874 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/1.499, allocations: 0 / 0.9874 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002618/1.501, allocations: 1.267 MB / 0.9886 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004325/1.502, allocations: 1.967 MB / 0.9905 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/1.502, allocations: 8.859 kB / 0.9905 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/1.504, allocations: 419.7 kB / 0.9909 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007257/1.504, allocations: 156 kB / 0.9911 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/1.506, allocations: 2.051 MB / 0.9931 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/1.508, allocations: 198.4 kB / 0.9933 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/1.509, allocations: 36.91 kB / 0.9933 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/1.509, allocations: 2.719 kB / 0.9933 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002247/1.511, allocations: 1.067 MB / 0.9944 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/1.511, allocations: 4.672 kB / 0.9944 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001486/1.512, allocations: 375.6 kB / 0.9947 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/1.513, allocations: 160.4 kB / 0.9949 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003904/1.517, allocations: 3.871 MB / 0.9986 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/1.519, allocations: 184.5 kB / 0.9988 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/1.519, allocations: 32.31 kB / 0.9989 GB, free: 13.37 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 0 * 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 {2 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001125/1.52, allocations: 472.3 kB / 0.9993 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006965/1.521, allocations: 151.8 kB / 0.9995 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003198/1.524, allocations: 1.233 MB / 1.001 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/1.524, allocations: 6.875 kB / 1.001 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.524, allocations: 2.844 kB / 1.001 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002467/1.526, allocations: 1.321 MB / 1.002 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005999/1.532, allocations: 2.734 MB / 1.005 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/1.533, allocations: 7.469 kB / 1.005 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/1.533, allocations: 104.4 kB / 1.005 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/1.535, allocations: 367.8 kB / 1.005 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.485e-05/1.535, allocations: 24.64 kB / 1.005 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/1.536, allocations: 2.043 MB / 1.007 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.536, allocations: 6.125 kB / 1.007 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/1.539, allocations: 1.4 MB / 1.008 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/1.54, allocations: 346.7 kB / 1.009 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000473/1.541, allocations: 18.34 kB / 1.009 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.542, allocations: 132.3 kB / 1.009 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/1.542, allocations: 49.05 kB / 1.009 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/1.542, allocations: 31.64 kB / 1.009 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001839/1.544, allocations: 0.8936 MB / 1.01 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.272e-06/1.544, allocations: 0 / 1.01 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004298/1.549, allocations: 0.9229 MB / 1.011 GB, free: 7.898 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/1.55, allocations: 378.3 kB / 1.011 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003871/1.554, allocations: 1.657 MB / 1.013 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.554, allocations: 1.859 kB / 1.013 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/1.555, allocations: 481.6 kB / 1.013 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004662/1.56, allocations: 0.7842 MB / 1.014 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006603/1.566, allocations: 3.262 MB / 1.017 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/1.568, allocations: 1.384 MB / 1.019 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00208/1.57, allocations: 311.7 kB / 1.019 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004621/1.57, allocations: 95.42 kB / 1.019 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of SimCode: time 1.933e-06/1.57, allocations: 4 kB / 1.019 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of Templates: time 0.05699/1.627, allocations: 30.64 MB / 1.049 GB, free: 4.012 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1) Environment - environmentSimulation: