Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.HexElementLatent,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",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.0009038/0.0009037, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.0008337/0.0008338, allocations: 172.7 kB / 15.95 MB, free: 208 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.383/1.383, allocations: 223.3 MB / 240 MB, free: 5.297 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.452/2.452, allocations: 390.4 MB / 0.6655 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003572, allocations: 12 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7008/0.7012, allocations: 142.3 MB / 0.9538 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.2518/0.953, allocations: 231.9 MB / 1.18 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02413/0.9772, allocations: 16.9 MB / 1.197 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003266/0.9805, allocations: 75.56 kB / 1.197 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003079/0.9836, allocations: 0.7257 MB / 1.198 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009198/0.9929, allocations: 2.809 MB / 1.2 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004409/0.9973, allocations: 1.363 MB / 1.202 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.008609/1.006, allocations: 5.806 MB / 1.207 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00263/1.009, allocations: 1.286 MB / 1.209 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00443/1.013, allocations: 1.758 MB / 1.21 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002858/1.016, allocations: 1.4 MB / 1.212 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002914/1.016, allocations: 72 kB / 1.212 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004149/1.02, allocations: 1.547 MB / 1.213 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005605/1.021, allocations: 462.2 kB / 1.214 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007559/1.022, allocations: 432.6 kB / 1.214 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003777/1.025, allocations: 2.595 MB / 1.217 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.026, allocations: 0 / 1.217 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.605e-06/1.026, allocations: 0 / 1.217 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.408e-05/1.026, allocations: 0 / 1.217 GB, free: 2.277 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.00401/1.03, allocations: 2.133 MB / 1.219 GB, free: 92 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/1.03, allocations: 8.031 kB / 1.219 GB, free: 84 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002816/1.03, allocations: 202.8 kB / 1.219 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/1.032, allocations: 377.1 kB / 1.219 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/1.034, allocations: 1.368 MB / 1.221 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.157e-05/1.034, allocations: 110.7 kB / 1.221 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/1.034, allocations: 140 kB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002538/1.037, allocations: 1.499 MB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/1.037, allocations: 7.953 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/1.037, allocations: 67.92 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.203e-05/1.037, allocations: 54.62 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/1.039, allocations: 1.154 MB / 1.224 GB, free: 10.98 MB / 0.9825 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.008115/1.047, allocations: 7.193 MB / 1.231 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/1.048, allocations: 0.8316 MB / 1.231 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007302/1.049, allocations: 448.7 kB / 1.232 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009634/1.05, allocations: 0.7318 MB / 1.233 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/1.05, allocations: 51.09 kB / 1.233 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=74): time 3.176e-06/1.05, allocations: 0 / 1.233 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=74): time 0.006017/1.056, allocations: 2.125 MB / 1.235 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/1.056, allocations: 60.06 kB / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/1.058, allocations: 1.298 MB / 1.236 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.479e-05/1.058, allocations: 41.7 kB / 1.236 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005922/1.058, allocations: 0.8017 MB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/1.059, allocations: 256.3 kB / 1.237 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/1.059, allocations: 16 kB / 1.237 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.059, allocations: 338 kB / 1.237 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005656/1.059, allocations: 329.8 kB / 1.238 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007407/1.06, allocations: 0.5708 MB / 1.238 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/1.061, allocations: 410.8 kB / 1.239 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/1.061, allocations: 4 kB / 1.239 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002374/1.063, allocations: 1.279 MB / 1.24 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001584/1.063, allocations: 228.7 kB / 1.24 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.063, allocations: 8 kB / 1.24 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001742/1.065, allocations: 422 kB / 1.241 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/1.066, allocations: 155.8 kB / 1.241 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/1.068, allocations: 2.05 MB / 1.243 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/1.069, allocations: 187.1 kB / 1.243 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.371e-05/1.069, allocations: 39.98 kB / 1.243 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/1.069, allocations: 4.781 kB / 1.243 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001962/1.071, allocations: 1.056 MB / 1.244 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/1.071, allocations: 4 kB / 1.244 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/1.072, allocations: 378.6 kB / 1.244 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005881/1.073, allocations: 159.7 kB / 1.245 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003488/1.077, allocations: 3.855 MB / 1.248 GB, free: 280 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/1.078, allocations: 175.2 kB / 1.248 GB, free: 104 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.162e-05/1.078, allocations: 39.98 kB / 1.248 GB, free: 64 kB / 0.9981 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.6164/1.694, allocations: 458.3 kB / 1.249 GB, free: 282.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005081/1.695, allocations: 159 kB / 1.249 GB, free: 282.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003185/1.698, allocations: 1.205 MB / 1.25 GB, free: 282.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/1.698, allocations: 12.72 kB / 1.25 GB, free: 282.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.698, allocations: 0.5156 kB / 1.25 GB, free: 282.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002401/1.701, allocations: 1.309 MB / 1.252 GB, free: 282.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00551/1.706, allocations: 2.762 MB / 1.254 GB, free: 281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/1.706, allocations: 6.984 kB / 1.254 GB, free: 281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000498/1.707, allocations: 104 kB / 1.254 GB, free: 281 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/1.708, allocations: 376.5 kB / 1.255 GB, free: 280.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.449e-05/1.708, allocations: 16.7 kB / 1.255 GB, free: 280.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/1.71, allocations: 2.026 MB / 1.257 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.71, allocations: 8.609 kB / 1.257 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/1.712, allocations: 1.22 MB / 1.258 GB, free: 278.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006981/1.713, allocations: 342.8 kB / 1.258 GB, free: 278.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/1.713, allocations: 24.91 kB / 1.258 GB, free: 278.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009335/1.714, allocations: 113.2 kB / 1.258 GB, free: 278.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.714, allocations: 50.02 kB / 1.258 GB, free: 278.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.657e-05/1.714, allocations: 28.52 kB / 1.258 GB, free: 278.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001474/1.715, allocations: 0.8772 MB / 1.259 GB, free: 277.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.41e-07/1.716, allocations: 0 / 1.259 GB, free: 277.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003209/1.719, allocations: 0.9095 MB / 1.26 GB, free: 277.8 MB / 0.9981 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.00331/1.722, allocations: 1.996 MB / 1.262 GB, free: 276.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003306/1.725, allocations: 1.664 MB / 1.264 GB, free: 276 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.725, allocations: 1.969 kB / 1.264 GB, free: 276 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000996/1.726, allocations: 481.1 kB / 1.264 GB, free: 275.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00361/1.73, allocations: 0.7906 MB / 1.265 GB, free: 275.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/1.746, allocations: 8.989 MB / 1.274 GB, free: 270.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009023/1.747, allocations: 1.346 MB / 1.275 GB, free: 269.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001539/1.749, allocations: 326.3 kB / 1.275 GB, free: 269.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007186/1.749, allocations: 0.6421 MB / 1.276 GB, free: 268.6 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/1.749, allocations: 3.531 kB / 1.276 GB, free: 268.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06596/1.815, allocations: 44.39 MB / 1.319 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/1.816, allocations: 286.6 kB / 1.32 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.824/4.64, allocations: 4.062 kB / 1.32 GB, free: 231.1 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent_res.mat does not exist to compare? outputFormat=mat