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.607/2.607, allocations: 287.5 MB / 302.4 MB, free: 8.258 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.001502/0.001501, allocations: 182.2 kB / 371 MB, free: 10.85 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.115/2.115, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009568/0.000957, allocations: 96.19 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004912, allocations: 10.72 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2121, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 1.01/1.222, allocations: 216.7 MB / 1.19 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03038/1.253, allocations: 14.6 MB / 1.204 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00283/1.256, allocations: 51.06 kB / 1.204 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003558/1.259, allocations: 0.6544 MB / 1.205 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00953/1.269, allocations: 2.128 MB / 1.207 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.006061/1.275, allocations: 1.258 MB / 1.208 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007794/1.283, allocations: 3.957 MB / 1.212 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002503/1.285, allocations: 0.9374 MB / 1.213 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007345/1.293, allocations: 1.915 MB / 1.215 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002965/1.296, allocations: 1.007 MB / 1.216 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.00055/1.296, allocations: 46.44 kB / 1.216 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007806/1.304, allocations: 1.903 MB / 1.218 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001148/1.305, allocations: 393.1 kB / 1.218 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000948/1.306, allocations: 332.8 kB / 1.219 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005516/1.312, allocations: 2.027 MB / 1.221 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 9.898e-06/1.312, allocations: 3.984 kB / 1.221 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.455e-06/1.312, allocations: 0 / 1.221 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.186e-05/1.312, allocations: 0 / 1.221 GB, free: 4.031 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005778/1.318, allocations: 1.737 MB / 1.222 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.467e-05/1.318, allocations: 12.03 kB / 1.222 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006429/1.319, allocations: 152.2 kB / 1.222 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004954/1.324, allocations: 0.5327 MB / 1.223 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00422/1.328, allocations: 1.072 MB / 1.224 GB, free: 420 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001833/1.33, allocations: 286.7 kB / 1.224 GB, free: 132 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003767/1.33, allocations: 100 kB / 1.224 GB, free: 32 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004521/1.335, allocations: 1.322 MB / 1.226 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.874e-05/1.335, allocations: 7.953 kB / 1.226 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/1.335, allocations: 44 kB / 1.226 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.204e-05/1.335, allocations: 41.98 kB / 1.226 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005105/1.34, allocations: 1.108 MB / 1.227 GB, free: 13.42 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.01405/1.354, allocations: 6.666 MB / 1.233 GB, free: 6.309 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003181/1.358, allocations: 0.5972 MB / 1.234 GB, free: 5.703 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/1.359, allocations: 281.2 kB / 1.234 GB, free: 5.426 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005918/1.36, allocations: 287.6 kB / 1.234 GB, free: 5.09 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/1.36, allocations: 38.8 kB / 1.234 GB, free: 5.043 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 2.394e-06/1.36, allocations: 0 / 1.234 GB, free: 5.043 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.004739/1.364, allocations: 0.9055 MB / 1.235 GB, free: 4.129 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/1.364, allocations: 59.34 kB / 1.235 GB, free: 4.059 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00325/1.368, allocations: 1.35 MB / 1.237 GB, free: 2.699 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001595/1.368, allocations: 37.7 kB / 1.237 GB, free: 2.656 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000869/1.369, allocations: 0.6793 MB / 1.237 GB, free: 1.973 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/1.369, allocations: 126.4 kB / 1.238 GB, free: 1.848 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.794e-05/1.369, allocations: 12 kB / 1.238 GB, free: 1.836 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001622/1.369, allocations: 333.9 kB / 1.238 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/1.371, allocations: 325.1 kB / 1.238 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/1.373, allocations: 0.6715 MB / 1.239 GB, free: 368 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/1.375, allocations: 395.5 kB / 1.239 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/1.375, allocations: 0 / 1.239 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004833/1.38, allocations: 1.046 MB / 1.24 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003742/1.38, allocations: 375.6 kB / 1.241 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/1.38, allocations: 12 kB / 1.241 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.828e-05/1.381, allocations: 19.94 kB / 1.241 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/1.382, allocations: 207.7 kB / 1.241 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.352e-05/1.382, allocations: 23.92 kB / 1.241 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/1.385, allocations: 222.8 kB / 1.241 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/1.385, allocations: 39.98 kB / 1.241 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.385, allocations: 4 kB / 1.241 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003904/1.389, allocations: 0.9088 MB / 1.242 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/1.389, allocations: 12 kB / 1.242 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/1.389, allocations: 12 kB / 1.242 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/1.391, allocations: 212.4 kB / 1.242 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/1.391, allocations: 15.94 kB / 1.242 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/1.393, allocations: 216.1 kB / 1.242 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/1.393, allocations: 35.98 kB / 1.242 GB, free: 12.5 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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.0009609/1.394, allocations: 410.1 kB / 1.243 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003763/1.394, allocations: 138.3 kB / 1.243 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00304/1.397, allocations: 0.6791 MB / 1.244 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/1.398, allocations: 8 kB / 1.244 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.398, allocations: 0 / 1.244 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/1.398, allocations: 7.938 kB / 1.244 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006406/1.404, allocations: 1.945 MB / 1.246 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/1.404, allocations: 4 kB / 1.246 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009703/1.405, allocations: 108 kB / 1.246 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-05/1.405, allocations: 8 kB / 1.246 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.462e-05/1.405, allocations: 11.98 kB / 1.246 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/1.405, allocations: 8 kB / 1.246 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.184e-05/1.405, allocations: 11.94 kB / 1.246 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/1.408, allocations: 0.8413 MB / 1.247 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008167/1.409, allocations: 287.4 kB / 1.247 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003098/1.409, allocations: 8 kB / 1.247 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/1.411, allocations: 111.9 kB / 1.247 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/1.411, allocations: 35.86 kB / 1.247 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.132e-05/1.411, allocations: 23.98 kB / 1.247 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002339/1.414, allocations: 0.9278 MB / 1.248 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.685e-06/1.414, allocations: 0 / 1.248 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002664/1.417, allocations: 0.5808 MB / 1.248 GB, free: 6.152 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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.004149/1.421, allocations: 1.547 MB / 1.25 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005345/1.426, allocations: 1.147 MB / 1.251 GB, free: 3.395 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/1.426, allocations: 4 kB / 1.251 GB, free: 3.391 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/1.428, allocations: 276.9 kB / 1.251 GB, free: 3.121 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005625/1.433, allocations: 0.6209 MB / 1.252 GB, free: 2.504 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02787/1.461, allocations: 7.81 MB / 1.26 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/1.462, allocations: 1.185 MB / 1.261 GB, free: 9.004 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002736/1.465, allocations: 346.7 kB / 1.261 GB, free: 8.66 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/1.466, allocations: 483.3 kB / 1.262 GB, free: 8.188 MB / 0.7917 GB Notification: Performance of SimCode: time 6.071e-06/1.466, allocations: 0 / 1.262 GB, free: 8.188 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09875/1.565, allocations: 33.25 MB / 1.294 GB, free: 7.312 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003284/1.565, allocations: 215.6 kB / 1.294 GB, free: 7.078 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.742/5.308, allocations: 0 / 1.294 GB, free: 7.078 MB / 0.823 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)