Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.651/1.651, allocations: 288.4 MB / 303.6 MB, free: 8.121 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.001315/0.001315, allocations: 188.4 kB / 372.3 MB, free: 10.11 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.434/1.434, allocations: 205.4 MB / 0.631 GB, free: 9.832 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.0007656/0.0007656, allocations: 86.42 kB / 0.7444 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004418, allocations: 13.47 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2159, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.8317/1.048, allocations: 231.9 MB / 1.207 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0266/1.074, allocations: 16.81 MB / 1.223 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003756/1.078, allocations: 66.5 kB / 1.223 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.003384/1.081, allocations: 0.7957 MB / 1.224 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.01145/1.093, allocations: 3.278 MB / 1.227 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.005354/1.098, allocations: 1.383 MB / 1.228 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.009127/1.107, allocations: 5.818 MB / 1.234 GB, free: 6.41 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003058/1.111, allocations: 1.488 MB / 1.236 GB, free: 4.879 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005311/1.116, allocations: 1.813 MB / 1.237 GB, free: 3.059 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004114/1.12, allocations: 1.411 MB / 1.239 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0006942/1.121, allocations: 68 kB / 1.239 GB, free: 1.578 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007548/1.128, allocations: 2.634 MB / 1.241 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001297/1.13, allocations: 462.2 kB / 1.242 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.003051/1.133, allocations: 0.9424 MB / 1.243 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.006082/1.139, allocations: 2.712 MB / 1.245 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/1.139, allocations: 3.938 kB / 1.245 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.414e-06/1.139, allocations: 0 / 1.245 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001467/1.139, allocations: 4 kB / 1.245 GB, free: 10.8 MB / 0.7761 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.006416/1.145, allocations: 2.099 MB / 1.247 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/1.146, allocations: 12.03 kB / 1.247 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008407/1.146, allocations: 202.8 kB / 1.248 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002476/1.149, allocations: 381.1 kB / 1.248 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00448/1.153, allocations: 1.406 MB / 1.249 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/1.154, allocations: 106.7 kB / 1.25 GB, free: 6.492 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004939/1.154, allocations: 144 kB / 1.25 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004366/1.158, allocations: 1.499 MB / 1.251 GB, free: 4.785 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.617e-05/1.159, allocations: 3.938 kB / 1.251 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002248/1.159, allocations: 56 kB / 1.251 GB, free: 4.727 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.605e-05/1.159, allocations: 58.62 kB / 1.251 GB, free: 4.668 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002995/1.162, allocations: 1.146 MB / 1.252 GB, free: 3.516 MB / 0.7761 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.01225/1.174, allocations: 7.193 MB / 1.259 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/1.176, allocations: 0.8404 MB / 1.26 GB, free: 10.89 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007966/1.177, allocations: 438.6 kB / 1.261 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/1.178, allocations: 0.7357 MB / 1.261 GB, free: 9.574 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/1.178, allocations: 47.22 kB / 1.261 GB, free: 9.52 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=74): time 3.506e-06/1.178, allocations: 0 / 1.261 GB, free: 9.52 MB / 0.7917 GB Notification: Performance of matching and sorting (n=74): time 0.006879/1.185, allocations: 2.138 MB / 1.263 GB, free: 7.309 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/1.185, allocations: 64.06 kB / 1.264 GB, free: 7.234 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/1.187, allocations: 1.29 MB / 1.265 GB, free: 5.934 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/1.187, allocations: 45.7 kB / 1.265 GB, free: 5.883 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007918/1.188, allocations: 0.8015 MB / 1.266 GB, free: 5.07 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/1.189, allocations: 252.3 kB / 1.266 GB, free: 4.82 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/1.189, allocations: 20 kB / 1.266 GB, free: 4.801 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.189, allocations: 334 kB / 1.266 GB, free: 4.469 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006795/1.189, allocations: 333.8 kB / 1.267 GB, free: 4.145 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000926/1.19, allocations: 0.5674 MB / 1.267 GB, free: 3.484 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/1.192, allocations: 0.8712 MB / 1.268 GB, free: 2.547 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.278e-06/1.192, allocations: 7.938 kB / 1.268 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002912/1.195, allocations: 1.263 MB / 1.269 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001953/1.195, allocations: 233.7 kB / 1.269 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/1.195, allocations: 8 kB / 1.269 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001967/1.197, allocations: 421.9 kB / 1.27 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006819/1.198, allocations: 159.8 kB / 1.27 GB, free: 384 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/1.2, allocations: 2.057 MB / 1.272 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/1.202, allocations: 185.8 kB / 1.272 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/1.202, allocations: 39.98 kB / 1.272 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/1.202, allocations: 4 kB / 1.272 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002177/1.204, allocations: 1.053 MB / 1.273 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/1.204, allocations: 12.09 kB / 1.273 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001584/1.206, allocations: 374.1 kB / 1.274 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000694/1.206, allocations: 151.8 kB / 1.274 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004144/1.21, allocations: 3.858 MB / 1.277 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/1.212, allocations: 182.3 kB / 1.278 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/1.212, allocations: 39.98 kB / 1.278 GB, free: 8.062 MB / 0.8073 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.001098/1.213, allocations: 460.9 kB / 1.278 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005688/1.214, allocations: 158.1 kB / 1.278 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003223/1.217, allocations: 1.213 MB / 1.279 GB, free: 6.215 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/1.217, allocations: 11.98 kB / 1.279 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/1.217, allocations: 3.938 kB / 1.279 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002598/1.22, allocations: 1.298 MB / 1.281 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005939/1.226, allocations: 2.77 MB / 1.283 GB, free: 1.938 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/1.226, allocations: 4 kB / 1.283 GB, free: 1.934 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005067/1.226, allocations: 104.2 kB / 1.284 GB, free: 1.832 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001545/1.228, allocations: 365.2 kB / 1.284 GB, free: 1.469 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.175e-05/1.228, allocations: 20 kB / 1.284 GB, free: 1.449 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/1.23, allocations: 2.032 MB / 1.286 GB, free: 15.34 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/1.23, allocations: 7.938 kB / 1.286 GB, free: 15.33 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/1.232, allocations: 1.218 MB / 1.287 GB, free: 14.06 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009385/1.233, allocations: 342.9 kB / 1.287 GB, free: 13.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003527/1.234, allocations: 12.14 kB / 1.287 GB, free: 13.69 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/1.235, allocations: 119.7 kB / 1.288 GB, free: 13.57 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/1.235, allocations: 68.34 kB / 1.288 GB, free: 13.51 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.065e-05/1.235, allocations: 31.98 kB / 1.288 GB, free: 13.48 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001703/1.237, allocations: 0.87 MB / 1.289 GB, free: 12.61 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.237, allocations: 0 / 1.289 GB, free: 12.61 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003592/1.241, allocations: 0.9038 MB / 1.289 GB, free: 11.7 MB / 0.823 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.003645/1.244, allocations: 1.993 MB / 1.291 GB, free: 9.656 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003935/1.248, allocations: 1.68 MB / 1.293 GB, free: 7.945 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.248, allocations: 0 / 1.293 GB, free: 7.945 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/1.249, allocations: 486.5 kB / 1.293 GB, free: 7.469 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005054/1.254, allocations: 0.7713 MB / 1.294 GB, free: 6.703 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02048/1.275, allocations: 8.949 MB / 1.303 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/1.277, allocations: 1.344 MB / 1.304 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001786/1.278, allocations: 331.5 kB / 1.305 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.279, allocations: 0.636 MB / 1.305 GB, free: 11 MB / 0.8386 GB Notification: Performance of SimCode: time 7.11e-07/1.279, allocations: 0 / 1.305 GB, free: 11 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09565/1.375, allocations: 44.81 MB / 1.349 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003624/1.375, allocations: 272.4 kB / 1.349 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.888/5.264, allocations: 0 / 1.349 GB, free: 14.29 MB / 0.8855 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)