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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.366/1.366, allocations: 251.5 MB / 266.7 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008908/0.0008908, allocations: 179.7 kB / 325.8 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205 MB / 0.576 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007772/0.0007771, allocations: 94.75 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003172, allocations: 10.75 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1957, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.6225/0.8182, allocations: 251.4 MB / 1.142 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0234/0.8417, allocations: 18.13 MB / 1.159 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003848/0.8456, allocations: 72.97 kB / 1.16 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003689/0.8493, allocations: 0.9133 MB / 1.16 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01206/0.8614, allocations: 3.585 MB / 1.164 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.005905/0.8673, allocations: 1.656 MB / 1.166 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01042/0.8778, allocations: 6.844 MB / 1.172 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003412/0.8812, allocations: 1.502 MB / 1.174 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005403/0.8867, allocations: 1.878 MB / 1.176 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004256/0.8909, allocations: 1.481 MB / 1.177 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0007191/0.8917, allocations: 70.03 kB / 1.177 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007125/0.8988, allocations: 2.706 MB / 1.18 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.8999, allocations: 494.7 kB / 1.18 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002769/0.9027, allocations: 0.9637 MB / 1.181 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00965/0.9124, allocations: 3.645 MB / 1.185 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.9125, allocations: 0 / 1.185 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.547e-06/0.9125, allocations: 7.156 kB / 1.185 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000123/0.9126, allocations: 0 / 1.185 GB, free: 5.504 MB / 0.7136 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.00549/0.9181, allocations: 2.106 MB / 1.187 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.9182, allocations: 10.03 kB / 1.187 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005623/0.9187, allocations: 204 kB / 1.187 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002285/0.921, allocations: 375.3 kB / 1.187 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003756/0.9248, allocations: 1.423 MB / 1.189 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.925, allocations: 107.4 kB / 1.189 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003899/0.9254, allocations: 140 kB / 1.189 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003841/0.9292, allocations: 1.513 MB / 1.19 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.181e-05/0.9293, allocations: 7.938 kB / 1.19 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/0.9295, allocations: 56 kB / 1.19 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.309e-05/0.9296, allocations: 62.64 kB / 1.191 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002696/0.9323, allocations: 1.166 MB / 1.192 GB, free: 15.87 MB / 0.7292 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.01051/0.9428, allocations: 7.203 MB / 1.199 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.9443, allocations: 0.8224 MB / 1.199 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008048/0.9452, allocations: 450.5 kB / 1.2 GB, free: 6.879 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009802/0.9462, allocations: 0.7328 MB / 1.201 GB, free: 6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.9462, allocations: 43.22 kB / 1.201 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=74): time 3.256e-06/0.9462, allocations: 0 / 1.201 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74): time 0.007037/0.9533, allocations: 2.149 MB / 1.203 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.9534, allocations: 64.05 kB / 1.203 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/0.9557, allocations: 1.302 MB / 1.204 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.9559, allocations: 45.7 kB / 1.204 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006897/0.9566, allocations: 0.8004 MB / 1.205 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003697/0.957, allocations: 254.9 kB / 1.205 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.9571, allocations: 77.67 kB / 1.205 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.9573, allocations: 342 kB / 1.206 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006931/0.958, allocations: 333.8 kB / 1.206 GB, free: 500 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008927/0.9589, allocations: 0.5708 MB / 1.206 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.9604, allocations: 0.8868 MB / 1.207 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.9604, allocations: 0 / 1.207 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003003/0.9635, allocations: 1.283 MB / 1.209 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000166/0.9636, allocations: 236.7 kB / 1.209 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.9637, allocations: 4 kB / 1.209 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002036/0.9657, allocations: 429.1 kB / 1.209 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/0.9664, allocations: 151.8 kB / 1.209 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.9682, allocations: 2.055 MB / 1.211 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.9698, allocations: 191 kB / 1.212 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.9699, allocations: 36 kB / 1.212 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.9699, allocations: 11.98 kB / 1.212 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002105/0.972, allocations: 1.056 MB / 1.213 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.9721, allocations: 8 kB / 1.213 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/0.9737, allocations: 373.5 kB / 1.213 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006189/0.9743, allocations: 159.7 kB / 1.213 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003567/0.9779, allocations: 3.858 MB / 1.217 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.9796, allocations: 179.1 kB / 1.217 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.9798, allocations: 36 kB / 1.217 GB, free: 4.375 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (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 {(2,21), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001141/0.9809, allocations: 470.2 kB / 1.218 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005844/0.9815, allocations: 154.1 kB / 1.218 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/0.9845, allocations: 1.232 MB / 1.219 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.9846, allocations: 8 kB / 1.219 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.9846, allocations: 0 / 1.219 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002328/0.9869, allocations: 1.302 MB / 1.22 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004872/0.9918, allocations: 2.775 MB / 1.223 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.9918, allocations: 4 kB / 1.223 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004431/0.9923, allocations: 103.9 kB / 1.223 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001429/0.9937, allocations: 366.4 kB / 1.223 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/0.9938, allocations: 27.98 kB / 1.223 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/0.9953, allocations: 2.02 MB / 1.225 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.9953, allocations: 4 kB / 1.225 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/0.9974, allocations: 1.221 MB / 1.227 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007345/0.9981, allocations: 335.1 kB / 1.227 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/0.9984, allocations: 23.98 kB / 1.227 GB, free: 10 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.9995, allocations: 122.6 kB / 1.227 GB, free: 9.883 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.9997, allocations: 48.44 kB / 1.227 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.567e-05/0.9997, allocations: 31.98 kB / 1.227 GB, free: 9.805 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001281/1.001, allocations: 0.8896 MB / 1.228 GB, free: 8.918 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.5e-07/1.001, allocations: 0 / 1.228 GB, free: 8.918 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002645/1.004, allocations: 0.9132 MB / 1.229 GB, free: 8.004 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,20), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002899/1.007, allocations: 2.018 MB / 1.231 GB, free: 5.949 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003342/1.01, allocations: 1.665 MB / 1.232 GB, free: 4.262 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.01, allocations: 0 / 1.232 GB, free: 4.262 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/1.011, allocations: 474.7 kB / 1.233 GB, free: 3.797 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004353/1.015, allocations: 0.7922 MB / 1.234 GB, free: 3.004 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03108/1.046, allocations: 12.14 MB / 1.246 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001673/1.048, allocations: 1.348 MB / 1.247 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00242/1.051, allocations: 315.3 kB / 1.247 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/1.052, allocations: 0.6438 MB / 1.248 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of SimCode: time 1.162e-06/1.052, allocations: 0 / 1.248 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2852/1.337, allocations: 43.2 MB / 1.29 GB, free: 9.242 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000307/1.338, allocations: 322 kB / 1.29 GB, free: 8.852 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.715/5.053, allocations: 0 / 1.29 GB, free: 8.852 MB / 0.823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)