Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HexElementLatent,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.606/1.606, allocations: 287.4 MB / 302.5 MB, free: 8.148 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.001299/0.001299, allocations: 181.2 kB / 371.1 MB, free: 10.81 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.577/1.577, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0009047/0.0009047, allocations: 93.05 kB / 0.7431 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003923, allocations: 17.44 kB / 0.8662 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2037, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.6912/0.895, allocations: 231.9 MB / 1.205 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02463/0.9197, allocations: 16.81 MB / 1.222 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003771/0.9235, allocations: 68.53 kB / 1.222 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00328/0.9268, allocations: 0.7328 MB / 1.222 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.937, allocations: 2.803 MB / 1.225 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.005299/0.9423, allocations: 1.365 MB / 1.226 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.009253/0.9516, allocations: 5.821 MB / 1.232 GB, free: 8.234 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003863/0.9555, allocations: 1.48 MB / 1.234 GB, free: 6.707 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005483/0.961, allocations: 1.754 MB / 1.235 GB, free: 4.945 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003431/0.9645, allocations: 1.396 MB / 1.237 GB, free: 3.543 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0007169/0.9652, allocations: 68 kB / 1.237 GB, free: 3.477 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00558/0.9708, allocations: 1.551 MB / 1.238 GB, free: 1.922 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001126/0.972, allocations: 466.2 kB / 1.239 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001453/0.9735, allocations: 432.6 kB / 1.239 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.005271/0.9788, allocations: 2.595 MB / 1.242 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.9788, allocations: 0 / 1.242 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.206e-06/0.9789, allocations: 0 / 1.242 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001628/0.979, allocations: 0 / 1.242 GB, free: 14.43 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.005998/0.985, allocations: 2.101 MB / 1.244 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.798e-05/0.9851, allocations: 11.97 kB / 1.244 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007087/0.9859, allocations: 202.8 kB / 1.244 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/0.9881, allocations: 381.1 kB / 1.244 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003578/0.9917, allocations: 1.406 MB / 1.246 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.9919, allocations: 110.6 kB / 1.246 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003716/0.9923, allocations: 136 kB / 1.246 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003544/0.9958, allocations: 1.507 MB / 1.247 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.064e-05/0.9959, allocations: 3.938 kB / 1.247 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/0.9961, allocations: 52 kB / 1.247 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.435e-05/0.9961, allocations: 58.58 kB / 1.247 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002591/0.9987, allocations: 1.154 MB / 1.249 GB, free: 7.125 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.01076/1.01, allocations: 7.193 MB / 1.256 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/1.011, allocations: 0.8387 MB / 1.256 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009409/1.012, allocations: 449.2 kB / 1.257 GB, free: 14.06 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/1.014, allocations: 0.7318 MB / 1.258 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.44e-05/1.014, allocations: 39.22 kB / 1.258 GB, free: 13.13 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=74): time 4.789e-06/1.014, allocations: 0 / 1.258 GB, free: 13.13 MB / 0.7917 GB Notification: Performance of matching and sorting (n=74): time 0.007055/1.021, allocations: 2.138 MB / 1.26 GB, free: 10.92 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/1.021, allocations: 60.06 kB / 1.26 GB, free: 10.85 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/1.023, allocations: 1.293 MB / 1.261 GB, free: 9.547 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/1.023, allocations: 49.69 kB / 1.261 GB, free: 9.492 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007631/1.024, allocations: 0.7938 MB / 1.262 GB, free: 8.688 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/1.025, allocations: 256.3 kB / 1.262 GB, free: 8.434 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/1.025, allocations: 16 kB / 1.262 GB, free: 8.418 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.025, allocations: 341.9 kB / 1.262 GB, free: 8.078 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007276/1.026, allocations: 325.8 kB / 1.263 GB, free: 7.762 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009198/1.026, allocations: 0.5674 MB / 1.263 GB, free: 7.102 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/1.028, allocations: 0.8829 MB / 1.264 GB, free: 6.152 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/1.028, allocations: 3.938 kB / 1.264 GB, free: 6.148 MB / 0.7917 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002952/1.031, allocations: 1.263 MB / 1.265 GB, free: 4.871 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002312/1.031, allocations: 232.7 kB / 1.266 GB, free: 4.574 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/1.031, allocations: 8 kB / 1.266 GB, free: 4.566 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001976/1.033, allocations: 418 kB / 1.266 GB, free: 4.148 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006627/1.034, allocations: 159.8 kB / 1.266 GB, free: 3.992 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/1.036, allocations: 2.052 MB / 1.268 GB, free: 1.863 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/1.037, allocations: 191 kB / 1.268 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/1.038, allocations: 39.98 kB / 1.268 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/1.038, allocations: 6.656 kB / 1.268 GB, free: 1.633 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002177/1.04, allocations: 1.053 MB / 1.269 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/1.04, allocations: 7.938 kB / 1.269 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/1.041, allocations: 378.3 kB / 1.27 GB, free: 188 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006276/1.042, allocations: 151.8 kB / 1.27 GB, free: 36 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004094/1.046, allocations: 3.858 MB / 1.274 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/1.048, allocations: 183 kB / 1.274 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/1.048, allocations: 32 kB / 1.274 GB, free: 11.68 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.001129/1.049, allocations: 472.8 kB / 1.274 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004882/1.05, allocations: 158.1 kB / 1.275 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003104/1.053, allocations: 1.201 MB / 1.276 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/1.053, allocations: 4 kB / 1.276 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.053, allocations: 11.94 kB / 1.276 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002428/1.055, allocations: 1.302 MB / 1.277 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005593/1.061, allocations: 2.762 MB / 1.28 GB, free: 5.559 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/1.061, allocations: 8.031 kB / 1.28 GB, free: 5.551 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005158/1.061, allocations: 103.9 kB / 1.28 GB, free: 5.449 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001573/1.063, allocations: 367.6 kB / 1.28 GB, free: 5.082 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/1.063, allocations: 16 kB / 1.28 GB, free: 5.066 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/1.065, allocations: 2.032 MB / 1.282 GB, free: 2.957 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/1.065, allocations: 7.938 kB / 1.282 GB, free: 2.949 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/1.067, allocations: 1.229 MB / 1.283 GB, free: 1.668 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/1.069, allocations: 335 kB / 1.284 GB, free: 1.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005931/1.069, allocations: 19.98 kB / 1.284 GB, free: 1.301 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001765/1.071, allocations: 120.5 kB / 1.284 GB, free: 1.184 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/1.071, allocations: 56.38 kB / 1.284 GB, free: 1.129 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/1.071, allocations: 31.98 kB / 1.284 GB, free: 1.098 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002104/1.074, allocations: 0.8739 MB / 1.285 GB, free: 232 kB / 0.8073 GB Notification: Performance of sort global known variables: time 1.5e-07/1.074, allocations: 0 / 1.285 GB, free: 232 kB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004359/1.078, allocations: 0.9017 MB / 1.286 GB, free: 15.32 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.003393/1.081, allocations: 1.988 MB / 1.288 GB, free: 13.28 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003822/1.085, allocations: 1.673 MB / 1.289 GB, free: 11.57 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.085, allocations: 0 / 1.289 GB, free: 11.57 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/1.086, allocations: 478.7 kB / 1.29 GB, free: 11.11 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004848/1.091, allocations: 0.799 MB / 1.29 GB, free: 10.32 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/1.11, allocations: 8.932 MB / 1.299 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/1.112, allocations: 1.34 MB / 1.3 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001669/1.113, allocations: 330.5 kB / 1.301 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009482/1.114, allocations: 0.6378 MB / 1.301 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of SimCode: time 2.625e-06/1.114, allocations: 0 / 1.301 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.045/2.159, allocations: 44.35 MB / 1.345 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002679/2.159, allocations: 279.7 kB / 1.345 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.411/5.57, allocations: 3.938 kB / 1.345 GB, free: 2.387 MB / 0.8698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)