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.463/1.463, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001164/0.001164, allocations: 179.8 kB / 326.5 MB, free: 2.242 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.805/1.805, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.000755/0.0007552, allocations: 99.73 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 8.688 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2135, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.7389/0.9524, allocations: 210.2 MB / 1.105 GB, free: 3.184 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01991/0.9724, allocations: 15.84 MB / 1.121 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004204/0.9767, allocations: 61.75 kB / 1.121 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004155/0.9808, allocations: 0.9961 MB / 1.122 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0124/0.9933, allocations: 3.237 MB / 1.125 GB, free: 2.848 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00602/0.9993, allocations: 1.823 MB / 1.127 GB, free: 2.812 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006919/1.006, allocations: 3.044 MB / 1.13 GB, free: 2.809 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00258/1.009, allocations: 1.327 MB / 1.131 GB, free: 2.641 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004066/1.013, allocations: 1.58 MB / 1.133 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002067/1.015, allocations: 0.9692 MB / 1.134 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002965/1.015, allocations: 69.94 kB / 1.134 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003854/1.019, allocations: 1.3 MB / 1.135 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004985/1.02, allocations: 441.1 kB / 1.135 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007376/1.02, allocations: 433.7 kB / 1.136 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003045/1.024, allocations: 2.462 MB / 1.138 GB, free: 1.973 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/1.024, allocations: 0 / 1.138 GB, free: 1.973 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.034e-06/1.024, allocations: 0 / 1.138 GB, free: 1.973 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.672e-05/1.024, allocations: 7.938 kB / 1.138 GB, free: 1.965 MB / 0.698 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.004206/1.028, allocations: 2.074 MB / 1.14 GB, free: 16.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/1.028, allocations: 13.34 kB / 1.14 GB, free: 16.63 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002959/1.028, allocations: 205.9 kB / 1.14 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001789/1.03, allocations: 370 kB / 1.141 GB, free: 16.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/1.033, allocations: 1.328 MB / 1.142 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.049e-05/1.033, allocations: 108.2 kB / 1.142 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/1.033, allocations: 146.2 kB / 1.142 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/1.036, allocations: 1.504 MB / 1.144 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/1.036, allocations: 2.906 kB / 1.144 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/1.036, allocations: 56.19 kB / 1.144 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.822e-05/1.036, allocations: 57.8 kB / 1.144 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/1.038, allocations: 1.15 MB / 1.145 GB, free: 15.11 MB / 0.7136 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.01111/1.049, allocations: 7.314 MB / 1.152 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/1.05, allocations: 0.8486 MB / 1.153 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007103/1.051, allocations: 0.5526 MB / 1.154 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/1.051, allocations: 42.09 kB / 1.154 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=74): time 2.845e-06/1.051, allocations: 4 kB / 1.154 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74): time 0.007013/1.058, allocations: 2.188 MB / 1.156 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/1.058, allocations: 63.84 kB / 1.156 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/1.06, allocations: 1.315 MB / 1.157 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/1.06, allocations: 44.73 kB / 1.157 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006003/1.061, allocations: 0.8025 MB / 1.158 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/1.061, allocations: 262.9 kB / 1.158 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/1.061, allocations: 15.66 kB / 1.158 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001618/1.061, allocations: 341.3 kB / 1.158 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005721/1.062, allocations: 321.5 kB / 1.159 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007382/1.063, allocations: 0.566 MB / 1.159 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006942/1.063, allocations: 420.5 kB / 1.16 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/1.063, allocations: 5.953 kB / 1.16 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002492/1.066, allocations: 1.269 MB / 1.161 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009646/1.067, allocations: 1.974 MB / 1.163 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/1.067, allocations: 5.781 kB / 1.163 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001923/1.069, allocations: 417 kB / 1.163 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006231/1.069, allocations: 156.3 kB / 1.163 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/1.071, allocations: 2.062 MB / 1.165 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/1.073, allocations: 194.1 kB / 1.166 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.001e-05/1.073, allocations: 40.84 kB / 1.166 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/1.073, allocations: 6.656 kB / 1.166 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001836/1.075, allocations: 1.06 MB / 1.167 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.075, allocations: 6.312 kB / 1.167 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/1.076, allocations: 374.8 kB / 1.167 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005546/1.077, allocations: 160.1 kB / 1.167 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003508/1.08, allocations: 3.873 MB / 1.171 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/1.082, allocations: 176.3 kB / 1.171 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/1.082, allocations: 39.75 kB / 1.171 GB, free: 14.43 MB / 0.7292 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.00103/1.083, allocations: 468.1 kB / 1.172 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003365/1.083, allocations: 159.5 kB / 1.172 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/1.086, allocations: 1.225 MB / 1.173 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/1.086, allocations: 11.94 kB / 1.173 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.086, allocations: 0 / 1.173 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002379/1.089, allocations: 1.323 MB / 1.174 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005159/1.094, allocations: 2.723 MB / 1.177 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/1.094, allocations: 3.25 kB / 1.177 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/1.094, allocations: 109.1 kB / 1.177 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001471/1.096, allocations: 373.1 kB / 1.177 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-05/1.096, allocations: 15.16 kB / 1.177 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/1.098, allocations: 2.05 MB / 1.179 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.098, allocations: 8.297 kB / 1.179 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/1.1, allocations: 1.404 MB / 1.181 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008683/1.101, allocations: 351.9 kB / 1.181 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/1.101, allocations: 18.59 kB / 1.181 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/1.102, allocations: 130.4 kB / 1.181 GB, free: 9.387 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.932e-05/1.102, allocations: 57.28 kB / 1.181 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.1e-05/1.102, allocations: 31.86 kB / 1.181 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001345/1.104, allocations: 0.8959 MB / 1.182 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.61e-07/1.104, allocations: 0 / 1.182 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002668/1.106, allocations: 0.9165 MB / 1.183 GB, free: 7.863 MB / 0.7292 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.003352/1.11, allocations: 2.899 MB / 1.186 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003526/1.113, allocations: 1.66 MB / 1.188 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/1.113, allocations: 3.875 kB / 1.188 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/1.114, allocations: 482.9 kB / 1.188 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004396/1.119, allocations: 0.7863 MB / 1.189 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009046/1.128, allocations: 7.35 MB / 1.196 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/1.129, allocations: 1.383 MB / 1.197 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001893/1.131, allocations: 329.9 kB / 1.198 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/1.132, allocations: 0.6377 MB / 1.198 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of SimCode: time 1.523e-06/1.132, allocations: 4 kB / 1.198 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08112/1.213, allocations: 44.02 MB / 1.241 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/1.213, allocations: 294.4 kB / 1.242 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.492/4.706, allocations: 3.234 kB / 1.242 GB, free: 14.09 MB / 0.7917 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)