Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.674/1.674, allocations: 287.4 MB / 302.5 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 176.8 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008351/0.0008351, allocations: 95.52 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004243/0.0004244, allocations: 14.17 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1999, allocations: 115.3 MB / 0.9788 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.6824/0.8823, allocations: 226.8 MB / 1.2 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01704/0.8994, allocations: 11.14 MB / 1.211 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003025/0.9025, allocations: 63.06 kB / 1.211 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002857/0.9054, allocations: 0.7056 MB / 1.212 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.008434/0.9139, allocations: 2.392 MB / 1.214 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00384/0.9177, allocations: 1.17 MB / 1.215 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007618/0.9254, allocations: 5.412 MB / 1.221 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002424/0.9278, allocations: 1.212 MB / 1.222 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004662/0.9325, allocations: 1.667 MB / 1.223 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002782/0.9353, allocations: 1.228 MB / 1.225 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0004292/0.9358, allocations: 60 kB / 1.225 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004191/0.94, allocations: 1.313 MB / 1.226 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.000705/0.9407, allocations: 430.4 kB / 1.226 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0009196/0.9417, allocations: 392.8 kB / 1.227 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.003769/0.9454, allocations: 2.307 MB / 1.229 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.9455, allocations: 4 kB / 1.229 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9455, allocations: 0 / 1.229 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.366e-05/0.9456, allocations: 0 / 1.229 GB, free: 11.45 MB / 0.7605 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.003802/0.9494, allocations: 1.905 MB / 1.231 GB, free: 9.492 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.9494, allocations: 8.031 kB / 1.231 GB, free: 9.484 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002427/0.9497, allocations: 172.9 kB / 1.231 GB, free: 9.305 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.9513, allocations: 353.5 kB / 1.231 GB, free: 8.957 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/0.9536, allocations: 1.351 MB / 1.233 GB, free: 7.551 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.505e-05/0.9537, allocations: 86.16 kB / 1.233 GB, free: 7.465 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.9538, allocations: 116 kB / 1.233 GB, free: 7.352 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.9559, allocations: 1.217 MB / 1.234 GB, free: 6.086 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/0.956, allocations: 0 / 1.234 GB, free: 6.086 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.904e-05/0.9561, allocations: 48 kB / 1.234 GB, free: 6.039 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.177e-05/0.9561, allocations: 42.08 kB / 1.234 GB, free: 5.996 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.9579, allocations: 0.9686 MB / 1.235 GB, free: 5.02 MB / 0.7605 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.007072/0.965, allocations: 5.54 MB / 1.241 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.9663, allocations: 0.8696 MB / 1.241 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006659/0.967, allocations: 413 kB / 1.242 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006308/0.9677, allocations: 0.6097 MB / 1.242 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.9677, allocations: 39.12 kB / 1.242 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 3.787e-06/0.9677, allocations: 0 / 1.242 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.003638/0.9714, allocations: 1.466 MB / 1.244 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.9715, allocations: 59.97 kB / 1.244 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.9731, allocations: 1.186 MB / 1.245 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.9732, allocations: 45.7 kB / 1.245 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005371/0.9737, allocations: 0.677 MB / 1.246 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.974, allocations: 252.4 kB / 1.246 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.974, allocations: 23.92 kB / 1.246 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.9741, allocations: 334 kB / 1.246 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005427/0.9747, allocations: 301.8 kB / 1.247 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007269/0.9754, allocations: 0.531 MB / 1.247 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.9766, allocations: 0.7418 MB / 1.248 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.9766, allocations: 4 kB / 1.248 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002351/0.979, allocations: 1.075 MB / 1.249 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.9791, allocations: 159.5 kB / 1.249 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.9791, allocations: 8 kB / 1.249 GB, free: 5.836 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007919/0.9799, allocations: 145.5 kB / 1.249 GB, free: 5.688 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007808/0.9807, allocations: 184.6 kB / 1.249 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.9818, allocations: 1.757 MB / 1.251 GB, free: 3.676 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.9832, allocations: 171.2 kB / 1.251 GB, free: 3.508 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-05/0.9833, allocations: 28 kB / 1.251 GB, free: 3.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.9833, allocations: 7.938 kB / 1.251 GB, free: 3.473 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001658/0.985, allocations: 0.8682 MB / 1.252 GB, free: 2.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.985, allocations: 4 kB / 1.252 GB, free: 2.594 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003016/0.9853, allocations: 97.75 kB / 1.252 GB, free: 2.492 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/0.986, allocations: 159.8 kB / 1.252 GB, free: 2.336 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/0.9889, allocations: 3.133 MB / 1.255 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.9904, allocations: 175.2 kB / 1.256 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.109e-05/0.9905, allocations: 24 kB / 1.256 GB, free: 14.73 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.000779/0.9913, allocations: 445.4 kB / 1.256 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/0.9915, allocations: 142.2 kB / 1.256 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/0.9934, allocations: 0.9588 MB / 1.257 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.9934, allocations: 8 kB / 1.257 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.9934, allocations: 0 / 1.257 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001482/0.9949, allocations: 1.083 MB / 1.258 GB, free: 11.98 MB / 0.7917 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.004381/0.9993, allocations: 2.466 MB / 1.261 GB, free: 9.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.9993, allocations: 4 kB / 1.261 GB, free: 9.406 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007656/1, allocations: 168.1 kB / 1.261 GB, free: 9.242 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002345/1, allocations: 93.58 kB / 1.261 GB, free: 9.145 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.086e-05/1, allocations: 23.98 kB / 1.261 GB, free: 9.121 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009616/1.001, allocations: 1.745 MB / 1.263 GB, free: 7.301 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.001, allocations: 4 kB / 1.263 GB, free: 7.297 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/1.004, allocations: 1.462 MB / 1.264 GB, free: 5.781 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008329/1.005, allocations: 323.1 kB / 1.264 GB, free: 5.445 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/1.005, allocations: 20 kB / 1.264 GB, free: 5.426 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009927/1.006, allocations: 115.7 kB / 1.264 GB, free: 5.312 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/1.006, allocations: 56.36 kB / 1.265 GB, free: 5.258 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-05/1.006, allocations: 31.98 kB / 1.265 GB, free: 5.227 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001135/1.007, allocations: 0.8005 MB / 1.265 GB, free: 4.426 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.31e-07/1.007, allocations: 0 / 1.265 GB, free: 4.426 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002135/1.009, allocations: 0.8027 MB / 1.266 GB, free: 3.621 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],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.003255/1.013, allocations: 2.252 MB / 1.268 GB, free: 1.316 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002949/1.016, allocations: 1.471 MB / 1.27 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.016, allocations: 0 / 1.27 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008221/1.017, allocations: 403.4 kB / 1.27 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004612/1.021, allocations: 0.7831 MB / 1.271 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/1.037, allocations: 8.419 MB / 1.279 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008852/1.038, allocations: 1.277 MB / 1.28 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001606/1.039, allocations: 349.9 kB / 1.281 GB, free: 4.215 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007668/1.04, allocations: 0.5735 MB / 1.281 GB, free: 3.645 MB / 0.8073 GB Notification: Performance of SimCode: time 1.072e-06/1.04, allocations: 0 / 1.281 GB, free: 3.645 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5998/1.64, allocations: 40.74 MB / 1.321 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/1.64, allocations: 278.2 kB / 1.321 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.273/4.913, allocations: 0 / 1.321 GB, free: 11.02 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)