Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 100 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.001475/0.001475, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.367/2.367, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003452, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7721/0.7724, allocations: 142.3 MB / 0.9536 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.2386/1.011, allocations: 205.4 MB / 1.154 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01673/1.028, allocations: 11.11 MB / 1.165 GB, free: 7.18 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002087/1.03, allocations: 59.56 kB / 1.165 GB, free: 7.121 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00273/1.033, allocations: 0.9642 MB / 1.166 GB, free: 6.152 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008948/1.042, allocations: 3.084 MB / 1.169 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004843/1.047, allocations: 1.669 MB / 1.171 GB, free: 1.422 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006003/1.053, allocations: 2.755 MB / 1.173 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002047/1.055, allocations: 1.136 MB / 1.174 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/1.058, allocations: 1.448 MB / 1.176 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/1.059, allocations: 0.8205 MB / 1.177 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/1.059, allocations: 64 kB / 1.177 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003211/1.062, allocations: 1.166 MB / 1.178 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004556/1.063, allocations: 402.6 kB / 1.178 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005218/1.063, allocations: 392.8 kB / 1.179 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002628/1.066, allocations: 2.197 MB / 1.181 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/1.066, allocations: 0 / 1.181 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.385e-06/1.066, allocations: 0 / 1.181 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.35e-05/1.066, allocations: 0 / 1.181 GB, free: 7.008 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003365/1.069, allocations: 1.901 MB / 1.183 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/1.069, allocations: 8.031 kB / 1.183 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000204/1.07, allocations: 164.9 kB / 1.183 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/1.071, allocations: 353.5 kB / 1.183 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/1.073, allocations: 1.262 MB / 1.184 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.229e-05/1.073, allocations: 86.16 kB / 1.184 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/1.073, allocations: 124 kB / 1.185 GB, free: 3 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/1.075, allocations: 1.205 MB / 1.186 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/1.075, allocations: 7.938 kB / 1.186 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/1.076, allocations: 47.95 kB / 1.186 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.083e-05/1.076, allocations: 42.14 kB / 1.186 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/1.077, allocations: 0.9725 MB / 1.187 GB, free: 0.668 MB / 0.9356 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.006341/1.084, allocations: 5.54 MB / 1.192 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/1.085, allocations: 0.8835 MB / 1.193 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003707/1.085, allocations: 434.1 kB / 1.194 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/1.085, allocations: 43.08 kB / 1.194 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=70): time 2.715e-06/1.085, allocations: 4 kB / 1.194 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of matching and sorting (n=70): time 0.00345/1.089, allocations: 1.462 MB / 1.195 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/1.089, allocations: 59.97 kB / 1.195 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/1.09, allocations: 1.214 MB / 1.196 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.637e-05/1.09, allocations: 45.7 kB / 1.196 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004992/1.091, allocations: 0.6785 MB / 1.197 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/1.091, allocations: 256.3 kB / 1.197 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/1.091, allocations: 12 kB / 1.197 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.091, allocations: 334 kB / 1.197 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/1.092, allocations: 301.8 kB / 1.198 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006767/1.093, allocations: 0.5149 MB / 1.198 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006167/1.093, allocations: 378.8 kB / 1.199 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1.093, allocations: 0 / 1.199 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002095/1.095, allocations: 1.087 MB / 1.2 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003642/1.096, allocations: 1.075 MB / 1.201 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.096, allocations: 0 / 1.201 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007324/1.096, allocations: 149.6 kB / 1.201 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007888/1.097, allocations: 183.6 kB / 1.201 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/1.098, allocations: 1.757 MB / 1.203 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/1.099, allocations: 179.2 kB / 1.203 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.236e-05/1.1, allocations: 35.92 kB / 1.203 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/1.1, allocations: 4 kB / 1.203 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001553/1.101, allocations: 0.8683 MB / 1.204 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/1.101, allocations: 4 kB / 1.204 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002526/1.101, allocations: 93.8 kB / 1.204 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/1.102, allocations: 167.8 kB / 1.204 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/1.105, allocations: 3.16 MB / 1.207 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/1.106, allocations: 167.2 kB / 1.207 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.838e-05/1.106, allocations: 35.98 kB / 1.207 GB, free: 10.4 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (87): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006647/1.107, allocations: 442.5 kB / 1.208 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/1.107, allocations: 142.3 kB / 1.208 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/1.108, allocations: 0.9587 MB / 1.209 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/1.108, allocations: 4 kB / 1.209 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.108, allocations: 4 kB / 1.209 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001374/1.11, allocations: 1.075 MB / 1.21 GB, free: 7.656 MB / 0.9669 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 postOpt removeSimpleEquations (simulation): time 0.003897/1.114, allocations: 2.538 MB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/1.114, allocations: 4 kB / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008356/1.115, allocations: 156.4 kB / 1.213 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003047/1.115, allocations: 105.5 kB / 1.213 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.14e-05/1.115, allocations: 20 kB / 1.213 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009868/1.116, allocations: 1.745 MB / 1.214 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.116, allocations: 4 kB / 1.214 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/1.118, allocations: 1.601 MB / 1.216 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006132/1.119, allocations: 331.1 kB / 1.216 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/1.119, allocations: 19.95 kB / 1.216 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009474/1.12, allocations: 115.7 kB / 1.216 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/1.12, allocations: 44.5 kB / 1.216 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-05/1.12, allocations: 31.98 kB / 1.216 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001057/1.121, allocations: 0.832 MB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.914e-06/1.121, allocations: 0 / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002017/1.123, allocations: 0.8183 MB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.medium.Xi[1],hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.mas.T) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003229/1.127, allocations: 3.127 MB / 1.221 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002708/1.129, allocations: 1.463 MB / 1.223 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.129, allocations: 0 / 1.223 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000767/1.13, allocations: 415.7 kB / 1.223 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00353/1.134, allocations: 0.7634 MB / 1.224 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006924/1.141, allocations: 5.74 MB / 1.229 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009837/1.142, allocations: 1.312 MB / 1.231 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001491/1.143, allocations: 350.1 kB / 1.231 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000693/1.144, allocations: 0.5774 MB / 1.231 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of SimCode: time 2.876e-06/1.144, allocations: 0 / 1.231 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5987/1.743, allocations: 40.11 MB / 1.271 GB, free: 270.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/1.743, allocations: 277.5 kB / 1.271 GB, free: 270.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.749/4.492, allocations: 0 / 1.271 GB, free: 270.2 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat does not exist to compare? outputFormat=mat