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.673/1.673, allocations: 288.2 MB / 303.2 MB, free: 8.25 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.0012/0.0012, allocations: 189 kB / 371.8 MB, free: 10.26 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.633/1.633, allocations: 205.4 MB / 0.6305 GB, free: 9.992 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.0008662/0.0008662, allocations: 93.16 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003913, allocations: 13.75 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2111, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.7365/0.9477, allocations: 209.9 MB / 1.184 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0259/0.9737, allocations: 15.76 MB / 1.2 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003794/0.9775, allocations: 70.09 kB / 1.2 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004254/0.9818, allocations: 0.9835 MB / 1.201 GB, free: 464 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01306/0.9949, allocations: 3.208 MB / 1.204 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.007185/1.002, allocations: 1.841 MB / 1.206 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.008255/1.01, allocations: 3.013 MB / 1.209 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003608/1.014, allocations: 1.321 MB / 1.21 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004972/1.019, allocations: 1.555 MB / 1.212 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002677/1.022, allocations: 0.9708 MB / 1.213 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.000663/1.022, allocations: 70.09 kB / 1.213 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004921/1.027, allocations: 1.306 MB / 1.214 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001077/1.029, allocations: 429.8 kB / 1.214 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001459/1.03, allocations: 433.3 kB / 1.215 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004975/1.035, allocations: 2.433 MB / 1.217 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.035, allocations: 0 / 1.217 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.245e-06/1.035, allocations: 0 / 1.217 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001336/1.035, allocations: 0 / 1.217 GB, free: 5.02 MB / 0.7448 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.005627/1.041, allocations: 2.082 MB / 1.219 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/1.041, allocations: 8.031 kB / 1.219 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006536/1.042, allocations: 198.8 kB / 1.219 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/1.044, allocations: 389 kB / 1.22 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00388/1.048, allocations: 1.325 MB / 1.221 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/1.048, allocations: 106.7 kB / 1.221 GB, free: 0.8047 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003312/1.048, allocations: 140 kB / 1.221 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003724/1.052, allocations: 1.487 MB / 1.223 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.124e-05/1.052, allocations: 7.984 kB / 1.223 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001907/1.052, allocations: 60 kB / 1.223 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.703e-05/1.052, allocations: 58.56 kB / 1.223 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002787/1.055, allocations: 1.153 MB / 1.224 GB, free: 13.83 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.0112/1.066, allocations: 7.297 MB / 1.231 GB, free: 5.941 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/1.068, allocations: 0.8593 MB / 1.232 GB, free: 5.055 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007198/1.069, allocations: 0.55 MB / 1.232 GB, free: 4.395 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/1.069, allocations: 47.16 kB / 1.232 GB, free: 4.34 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=74): time 3.306e-06/1.069, allocations: 0 / 1.232 GB, free: 4.34 MB / 0.7605 GB Notification: Performance of matching and sorting (n=74): time 0.007645/1.077, allocations: 2.198 MB / 1.235 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/1.077, allocations: 64.06 kB / 1.235 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002364/1.079, allocations: 1.317 MB / 1.236 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001574/1.079, allocations: 49.64 kB / 1.236 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007321/1.08, allocations: 0.7938 MB / 1.237 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003732/1.08, allocations: 260.2 kB / 1.237 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/1.08, allocations: 16 kB / 1.237 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.081, allocations: 345.9 kB / 1.237 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007234/1.081, allocations: 321.8 kB / 1.238 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008927/1.082, allocations: 0.5716 MB / 1.238 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008803/1.083, allocations: 418.8 kB / 1.239 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/1.083, allocations: 4 kB / 1.239 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002938/1.086, allocations: 1.279 MB / 1.24 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008437/1.087, allocations: 1.968 MB / 1.242 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/1.087, allocations: 8 kB / 1.242 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002059/1.089, allocations: 414 kB / 1.242 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000695/1.09, allocations: 159.8 kB / 1.242 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/1.092, allocations: 2.055 MB / 1.244 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/1.093, allocations: 185.5 kB / 1.245 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/1.093, allocations: 43.98 kB / 1.245 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.093, allocations: 4 kB / 1.245 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002293/1.096, allocations: 1.061 MB / 1.246 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/1.096, allocations: 4 kB / 1.246 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001557/1.097, allocations: 382.3 kB / 1.246 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000641/1.098, allocations: 155.8 kB / 1.246 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004033/1.102, allocations: 3.874 MB / 1.25 GB, free: 1.633 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/1.104, allocations: 178.3 kB / 1.25 GB, free: 1.461 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/1.104, allocations: 39.98 kB / 1.25 GB, free: 1.422 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.001109/1.105, allocations: 474.6 kB / 1.251 GB, free: 0.9492 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005023/1.106, allocations: 158.1 kB / 1.251 GB, free: 0.793 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00323/1.109, allocations: 1.223 MB / 1.252 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/1.109, allocations: 8 kB / 1.252 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/1.109, allocations: 0 / 1.252 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002497/1.112, allocations: 1.318 MB / 1.253 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005605/1.117, allocations: 2.747 MB / 1.256 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/1.117, allocations: 4 kB / 1.256 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000486/1.118, allocations: 103.9 kB / 1.256 GB, free: 11.17 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001548/1.119, allocations: 374.4 kB / 1.256 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.69e-05/1.119, allocations: 20 kB / 1.256 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/1.121, allocations: 2.04 MB / 1.258 GB, free: 8.656 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/1.121, allocations: 3.938 kB / 1.258 GB, free: 8.652 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/1.123, allocations: 1.398 MB / 1.26 GB, free: 7.117 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/1.125, allocations: 346.9 kB / 1.26 GB, free: 6.758 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003597/1.125, allocations: 20 kB / 1.26 GB, free: 6.738 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/1.126, allocations: 111.7 kB / 1.26 GB, free: 6.629 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/1.126, allocations: 60.44 kB / 1.26 GB, free: 6.57 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-05/1.127, allocations: 31.98 kB / 1.26 GB, free: 6.539 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.00164/1.128, allocations: 0.8895 MB / 1.261 GB, free: 5.652 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.2e-07/1.128, allocations: 0 / 1.261 GB, free: 5.652 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003466/1.132, allocations: 0.9155 MB / 1.262 GB, free: 4.734 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (48): * Single equations (assignments): 43 * 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 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003999/1.136, allocations: 2.921 MB / 1.265 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003848/1.14, allocations: 1.669 MB / 1.267 GB, free: 20 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.14, allocations: 0 / 1.267 GB, free: 20 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/1.141, allocations: 479 kB / 1.267 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004221/1.145, allocations: 0.7762 MB / 1.268 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00935/1.154, allocations: 7.336 MB / 1.275 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.155, allocations: 1.383 MB / 1.276 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001745/1.157, allocations: 330.1 kB / 1.277 GB, free: 5.535 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008384/1.158, allocations: 0.636 MB / 1.277 GB, free: 4.898 MB / 0.8073 GB Notification: Performance of SimCode: time 1.443e-06/1.158, allocations: 0 / 1.277 GB, free: 4.898 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09266/1.251, allocations: 43.95 MB / 1.32 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003032/1.251, allocations: 292.6 kB / 1.32 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.489/4.74, allocations: 0 / 1.32 GB, free: 9.035 MB / 0.8542 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)