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.381/1.381, allocations: 252 MB / 267 MB, free: 10.96 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.001035/0.001035, allocations: 182.2 kB / 326.6 MB, free: 2.211 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.829/1.829, allocations: 205.4 MB / 0.5777 GB, free: 20.26 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.001022/0.001022, allocations: 83.03 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003703, allocations: 12.25 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2607, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.867/1.128, allocations: 232.2 MB / 1.127 GB, free: 3.238 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02357/1.151, allocations: 16.88 MB / 1.144 GB, free: 2.816 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004648/1.156, allocations: 69.88 kB / 1.144 GB, free: 2.816 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003571/1.16, allocations: 0.7266 MB / 1.144 GB, free: 2.809 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01126/1.171, allocations: 2.813 MB / 1.147 GB, free: 2.68 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005205/1.176, allocations: 1.367 MB / 1.148 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01058/1.187, allocations: 5.851 MB / 1.154 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002985/1.19, allocations: 1.311 MB / 1.155 GB, free: 1.82 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005337/1.195, allocations: 1.775 MB / 1.157 GB, free: 1.562 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003521/1.199, allocations: 1.406 MB / 1.159 GB, free: 1.324 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004727/1.199, allocations: 68.36 kB / 1.159 GB, free: 1.324 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005961/1.205, allocations: 1.551 MB / 1.16 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008929/1.206, allocations: 468.5 kB / 1.161 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/1.207, allocations: 435.9 kB / 1.161 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007157/1.215, allocations: 2.782 MB / 1.164 GB, free: 0 / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/1.215, allocations: 8.031 kB / 1.164 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.587e-06/1.215, allocations: 0 / 1.164 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001313/1.215, allocations: 0 / 1.164 GB, free: 15.99 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.00577/1.221, allocations: 2.129 MB / 1.166 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/1.221, allocations: 10.38 kB / 1.166 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003914/1.221, allocations: 203.6 kB / 1.166 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/1.223, allocations: 378.8 kB / 1.166 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/1.226, allocations: 1.352 MB / 1.168 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.697e-05/1.226, allocations: 107.5 kB / 1.168 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/1.226, allocations: 138.5 kB / 1.168 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/1.229, allocations: 1.512 MB / 1.169 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/1.229, allocations: 0 / 1.169 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/1.229, allocations: 58.56 kB / 1.169 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.949e-05/1.229, allocations: 55.45 kB / 1.169 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/1.231, allocations: 1.153 MB / 1.171 GB, free: 13.1 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.009515/1.24, allocations: 7.195 MB / 1.178 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/1.242, allocations: 0.8225 MB / 1.178 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000703/1.243, allocations: 448.5 kB / 1.179 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009061/1.243, allocations: 0.7327 MB / 1.18 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/1.244, allocations: 44.88 kB / 1.18 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=74): time 3.777e-06/1.244, allocations: 0 / 1.18 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74): time 0.006832/1.25, allocations: 2.121 MB / 1.182 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/1.25, allocations: 64.52 kB / 1.182 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/1.252, allocations: 1.302 MB / 1.183 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/1.252, allocations: 42.17 kB / 1.183 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005749/1.253, allocations: 0.7988 MB / 1.184 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/1.253, allocations: 261.5 kB / 1.184 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/1.253, allocations: 21.06 kB / 1.184 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.253, allocations: 333.9 kB / 1.184 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005721/1.254, allocations: 330 kB / 1.185 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007484/1.255, allocations: 0.5621 MB / 1.185 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006815/1.255, allocations: 417.8 kB / 1.186 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.255, allocations: 0 / 1.186 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002607/1.258, allocations: 1.257 MB / 1.187 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001974/1.258, allocations: 231.8 kB / 1.187 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/1.258, allocations: 8 kB / 1.187 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00204/1.26, allocations: 414.5 kB / 1.188 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006524/1.261, allocations: 164.3 kB / 1.188 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/1.263, allocations: 2.056 MB / 1.19 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/1.264, allocations: 191.8 kB / 1.19 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.657e-05/1.265, allocations: 41.61 kB / 1.19 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/1.265, allocations: 5.859 kB / 1.19 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002013/1.267, allocations: 1.048 MB / 1.191 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/1.267, allocations: 8 kB / 1.191 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/1.268, allocations: 380 kB / 1.191 GB, free: 32 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006329/1.269, allocations: 153.5 kB / 1.191 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003922/1.273, allocations: 3.853 MB / 1.195 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/1.274, allocations: 176.8 kB / 1.195 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.682e-05/1.275, allocations: 38.61 kB / 1.195 GB, free: 11.89 MB / 0.7292 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 (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.000994/1.276, allocations: 470.1 kB / 1.196 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003272/1.276, allocations: 154.1 kB / 1.196 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002879/1.279, allocations: 1.219 MB / 1.197 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/1.279, allocations: 11.98 kB / 1.197 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/1.279, allocations: 4 kB / 1.197 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002382/1.281, allocations: 1.292 MB / 1.199 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0052/1.286, allocations: 2.767 MB / 1.201 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/1.286, allocations: 4 kB / 1.201 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/1.287, allocations: 103.4 kB / 1.201 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001483/1.288, allocations: 366.1 kB / 1.202 GB, free: 6.949 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/1.288, allocations: 18.5 kB / 1.202 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/1.29, allocations: 2.038 MB / 1.204 GB, free: 5.023 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/1.29, allocations: 4.188 kB / 1.204 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/1.292, allocations: 1.217 MB / 1.205 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007305/1.293, allocations: 349.2 kB / 1.205 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/1.293, allocations: 15.45 kB / 1.205 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/1.294, allocations: 126.6 kB / 1.205 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/1.294, allocations: 54.67 kB / 1.205 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.344e-05/1.294, allocations: 30.48 kB / 1.205 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001224/1.296, allocations: 0.8727 MB / 1.206 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.262e-06/1.296, allocations: 0 / 1.206 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002623/1.298, allocations: 0.9165 MB / 1.207 GB, free: 2.047 MB / 0.7292 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 (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 20,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002899/1.301, allocations: 1.981 MB / 1.209 GB, free: 324 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003394/1.305, allocations: 1.667 MB / 1.211 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.305, allocations: 0 / 1.211 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/1.306, allocations: 478.7 kB / 1.211 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004063/1.31, allocations: 0.7899 MB / 1.212 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01686/1.327, allocations: 8.947 MB / 1.221 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009788/1.328, allocations: 1.348 MB / 1.222 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001744/1.329, allocations: 336.3 kB / 1.222 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007835/1.33, allocations: 0.6321 MB / 1.223 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of SimCode: time 2.766e-06/1.33, allocations: 0 / 1.223 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08035/1.411, allocations: 44.45 MB / 1.266 GB, free: 6.035 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/1.411, allocations: 288.2 kB / 1.267 GB, free: 5.676 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.644/5.054, allocations: 0 / 1.267 GB, free: 5.676 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)