Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example4",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 2.833/2.833, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.001731/0.00173, allocations: 178.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.262/2.262, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001272/0.001271, allocations: 86.91 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004848, allocations: 10.72 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2322, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 1.02/1.252, allocations: 194.9 MB / 1.169 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03477/1.287, allocations: 14.37 MB / 1.183 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002964/1.29, allocations: 49.53 kB / 1.183 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004961/1.295, allocations: 0.9499 MB / 1.184 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01397/1.309, allocations: 2.909 MB / 1.186 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.007703/1.317, allocations: 1.531 MB / 1.188 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0062/1.323, allocations: 2.019 MB / 1.19 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002588/1.326, allocations: 0.9648 MB / 1.191 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006762/1.332, allocations: 1.705 MB / 1.192 GB, free: 7.898 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002405/1.335, allocations: 0.689 MB / 1.193 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0005404/1.335, allocations: 46.88 kB / 1.193 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006805/1.342, allocations: 1.681 MB / 1.195 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001058/1.343, allocations: 365.9 kB / 1.195 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/1.344, allocations: 331.3 kB / 1.196 GB, free: 6.32 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.005251/1.35, allocations: 1.878 MB / 1.197 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.35, allocations: 0 / 1.197 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.637e-06/1.35, allocations: 4 kB / 1.197 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.545e-05/1.35, allocations: 0 / 1.197 GB, free: 5.125 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005727/1.356, allocations: 1.689 MB / 1.199 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/1.356, allocations: 10.25 kB / 1.199 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004972/1.356, allocations: 149.6 kB / 1.199 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004847/1.361, allocations: 0.5489 MB / 1.2 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004265/1.365, allocations: 1.07 MB / 1.201 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00184/1.367, allocations: 272.7 kB / 1.201 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003831/1.368, allocations: 103.8 kB / 1.201 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004606/1.372, allocations: 1.327 MB / 1.202 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.635e-05/1.372, allocations: 10.42 kB / 1.202 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/1.373, allocations: 38.47 kB / 1.202 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.794e-05/1.373, allocations: 48.81 kB / 1.202 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005081/1.378, allocations: 1.103 MB / 1.204 GB, free: 1.062 MB / 0.7292 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.01446/1.392, allocations: 6.695 MB / 1.21 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004119/1.397, allocations: 0.6349 MB / 1.211 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/1.397, allocations: 24.25 kB / 1.211 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/1.397, allocations: 42.8 kB / 1.211 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=33): time 3.376e-06/1.397, allocations: 0 / 1.211 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.005075/1.402, allocations: 0.9144 MB / 1.212 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/1.402, allocations: 55.41 kB / 1.212 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004123/1.406, allocations: 1.35 MB / 1.213 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001749/1.406, allocations: 37.7 kB / 1.213 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000972/1.407, allocations: 0.6794 MB / 1.214 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/1.408, allocations: 118.4 kB / 1.214 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.679e-05/1.408, allocations: 12 kB / 1.214 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.408, allocations: 334 kB / 1.214 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/1.41, allocations: 329.1 kB / 1.215 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/1.412, allocations: 0.6608 MB / 1.215 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/1.414, allocations: 407.6 kB / 1.216 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.581e-05/1.414, allocations: 4 kB / 1.216 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004889/1.419, allocations: 1.055 MB / 1.217 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001866/1.421, allocations: 3.898 MB / 1.22 GB, free: 380 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.805e-05/1.421, allocations: 15.94 kB / 1.22 GB, free: 364 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.447e-05/1.421, allocations: 16 kB / 1.22 GB, free: 348 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/1.423, allocations: 207.7 kB / 1.221 GB, free: 140 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.085e-05/1.423, allocations: 19.94 kB / 1.221 GB, free: 120 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002783/1.426, allocations: 238.8 kB / 1.221 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/1.426, allocations: 43.97 kB / 1.221 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/1.426, allocations: 4 kB / 1.221 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00432/1.43, allocations: 0.9014 MB / 1.222 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.291e-05/1.43, allocations: 8 kB / 1.222 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/1.43, allocations: 16 kB / 1.222 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/1.432, allocations: 212.4 kB / 1.222 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.014e-05/1.432, allocations: 15.94 kB / 1.222 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002567/1.435, allocations: 203.6 kB / 1.222 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/1.435, allocations: 39.98 kB / 1.222 GB, free: 14.45 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001031/1.436, allocations: 408.8 kB / 1.223 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004731/1.437, allocations: 138.3 kB / 1.223 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003273/1.44, allocations: 0.6906 MB / 1.223 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/1.44, allocations: 8 kB / 1.223 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.44, allocations: 0 / 1.223 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/1.44, allocations: 3.984 kB / 1.223 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008862/1.449, allocations: 2.531 MB / 1.226 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-05/1.449, allocations: 8.875 kB / 1.226 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/1.45, allocations: 112 kB / 1.226 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.196e-05/1.45, allocations: 12 kB / 1.226 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.461e-05/1.45, allocations: 23.98 kB / 1.226 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.809e-05/1.45, allocations: 11.94 kB / 1.226 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.389e-05/1.45, allocations: 11.94 kB / 1.226 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003815/1.454, allocations: 1.407 MB / 1.227 GB, free: 8.582 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/1.455, allocations: 299.2 kB / 1.228 GB, free: 8.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005303/1.456, allocations: 19.89 kB / 1.228 GB, free: 8.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/1.458, allocations: 119.8 kB / 1.228 GB, free: 8.133 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002056/1.458, allocations: 35.86 kB / 1.228 GB, free: 8.098 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/1.458, allocations: 27.98 kB / 1.228 GB, free: 8.07 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002805/1.461, allocations: 0.9278 MB / 1.229 GB, free: 7.145 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.02e-07/1.461, allocations: 0 / 1.229 GB, free: 7.145 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003396/1.465, allocations: 0.5848 MB / 1.229 GB, free: 6.559 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005747/1.471, allocations: 4.143 MB / 1.233 GB, free: 2.184 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005691/1.476, allocations: 1.152 MB / 1.235 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/1.476, allocations: 4.938 kB / 1.235 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001468/1.478, allocations: 297.4 kB / 1.235 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005767/1.484, allocations: 0.6237 MB / 1.236 GB, free: 128 kB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/1.503, allocations: 10.17 MB / 1.245 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002279/1.505, allocations: 1.212 MB / 1.247 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003169/1.509, allocations: 350.6 kB / 1.247 GB, free: 4.016 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/1.51, allocations: 487.3 kB / 1.247 GB, free: 3.539 MB / 0.7761 GB Notification: Performance of SimCode: time 1.422e-06/1.51, allocations: 0 / 1.247 GB, free: 3.539 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1087/1.619, allocations: 32.53 MB / 1.279 GB, free: 3.375 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003459/1.619, allocations: 222.5 kB / 1.279 GB, free: 3.133 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.697/5.316, allocations: 3.938 kB / 1.279 GB, free: 3.129 MB / 0.8073 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)