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 1.564/1.564, allocations: 287.4 MB / 302.6 MB, free: 8.227 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.001728/0.001728, allocations: 178.1 kB / 371.1 MB, free: 10.83 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.498/1.498, 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.0007873/0.0007872, allocations: 86.36 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004397/0.0004398, allocations: 11.95 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2277, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.7686/0.9963, allocations: 216.7 MB / 1.19 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02062/1.017, allocations: 14.59 MB / 1.205 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002973/1.02, allocations: 53.97 kB / 1.205 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002968/1.023, allocations: 0.6596 MB / 1.205 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.007987/1.031, allocations: 2.125 MB / 1.207 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004815/1.036, allocations: 1.252 MB / 1.209 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006815/1.043, allocations: 3.991 MB / 1.212 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002643/1.045, allocations: 1.036 MB / 1.213 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006768/1.052, allocations: 1.919 MB / 1.215 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002782/1.055, allocations: 1.004 MB / 1.216 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.00056/1.056, allocations: 46.44 kB / 1.216 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005982/1.062, allocations: 1.9 MB / 1.218 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0008844/1.063, allocations: 399.1 kB / 1.219 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0009772/1.064, allocations: 331.1 kB / 1.219 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004082/1.068, allocations: 2.035 MB / 1.221 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/1.068, allocations: 3.938 kB / 1.221 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.074e-06/1.068, allocations: 0 / 1.221 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.515e-05/1.068, allocations: 0 / 1.221 GB, free: 3.742 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.004287/1.072, allocations: 1.718 MB / 1.223 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/1.072, allocations: 12.03 kB / 1.223 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003583/1.073, allocations: 148.2 kB / 1.223 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002896/1.075, allocations: 0.5366 MB / 1.223 GB, free: 1.266 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003344/1.079, allocations: 1.118 MB / 1.224 GB, free: 96 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009722/1.08, allocations: 273.8 kB / 1.225 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002739/1.08, allocations: 100 kB / 1.225 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002759/1.083, allocations: 1.338 MB / 1.226 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/1.083, allocations: 3.938 kB / 1.226 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/1.083, allocations: 40 kB / 1.226 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.428e-05/1.083, allocations: 46 kB / 1.226 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002532/1.086, allocations: 1.108 MB / 1.227 GB, free: 13.11 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.008905/1.095, allocations: 6.666 MB / 1.234 GB, free: 5.996 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/1.096, allocations: 0.6011 MB / 1.234 GB, free: 5.387 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006723/1.097, allocations: 281.2 kB / 1.235 GB, free: 5.109 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004114/1.097, allocations: 287.5 kB / 1.235 GB, free: 4.773 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/1.097, allocations: 42.84 kB / 1.235 GB, free: 4.723 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 3.467e-06/1.098, allocations: 0 / 1.235 GB, free: 4.723 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.002693/1.1, allocations: 0.9055 MB / 1.236 GB, free: 3.809 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/1.1, allocations: 59.41 kB / 1.236 GB, free: 3.738 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00252/1.103, allocations: 1.346 MB / 1.237 GB, free: 2.383 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 9.664e-05/1.103, allocations: 37.7 kB / 1.237 GB, free: 2.34 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006114/1.104, allocations: 0.6794 MB / 1.238 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/1.104, allocations: 126.2 kB / 1.238 GB, free: 1.531 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/1.104, allocations: 16 kB / 1.238 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.104, allocations: 330 kB / 1.238 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008661/1.105, allocations: 325.1 kB / 1.239 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/1.106, allocations: 0.6637 MB / 1.239 GB, free: 52 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/1.108, allocations: 0.906 MB / 1.24 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/1.108, allocations: 8 kB / 1.24 GB, free: 15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002682/1.11, allocations: 1.043 MB / 1.241 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000293/1.111, allocations: 378.5 kB / 1.242 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/1.111, allocations: 11.98 kB / 1.242 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.369e-05/1.111, allocations: 19.94 kB / 1.242 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000827/1.112, allocations: 203.7 kB / 1.242 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-05/1.112, allocations: 27.92 kB / 1.242 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/1.114, allocations: 226.7 kB / 1.242 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.661e-05/1.114, allocations: 43.92 kB / 1.242 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/1.114, allocations: 4 kB / 1.242 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002225/1.116, allocations: 0.8973 MB / 1.243 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/1.116, allocations: 12 kB / 1.243 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/1.116, allocations: 12.78 kB / 1.243 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007987/1.117, allocations: 215.7 kB / 1.243 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/1.117, allocations: 15.94 kB / 1.243 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/1.118, allocations: 206.9 kB / 1.243 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.552e-05/1.119, allocations: 39.98 kB / 1.243 GB, free: 11.53 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.0007948/1.119, allocations: 410.1 kB / 1.244 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000378/1.12, allocations: 138.2 kB / 1.244 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/1.122, allocations: 0.6792 MB / 1.245 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.122, allocations: 8 kB / 1.245 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/1.122, allocations: 0 / 1.245 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/1.122, allocations: 3.984 kB / 1.245 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004172/1.126, allocations: 1.942 MB / 1.246 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/1.126, allocations: 3.938 kB / 1.246 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004986/1.126, allocations: 108 kB / 1.247 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/1.126, allocations: 4 kB / 1.247 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/1.126, allocations: 15.98 kB / 1.247 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/1.126, allocations: 7.938 kB / 1.247 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/1.126, allocations: 7.938 kB / 1.247 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/1.128, allocations: 0.8335 MB / 1.247 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008129/1.129, allocations: 287.2 kB / 1.248 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003797/1.129, allocations: 12 kB / 1.248 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/1.131, allocations: 111.7 kB / 1.248 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/1.131, allocations: 39.84 kB / 1.248 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/1.131, allocations: 19.98 kB / 1.248 GB, free: 6.711 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001504/1.132, allocations: 0.9278 MB / 1.249 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.21e-07/1.132, allocations: 0 / 1.249 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001936/1.134, allocations: 0.5809 MB / 1.249 GB, free: 5.203 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.002312/1.137, allocations: 1.535 MB / 1.251 GB, free: 3.598 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00282/1.139, allocations: 1.16 MB / 1.252 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.139, allocations: 0 / 1.252 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006738/1.14, allocations: 284.8 kB / 1.252 GB, free: 2.164 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003875/1.144, allocations: 0.6357 MB / 1.253 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02149/1.165, allocations: 7.817 MB / 1.261 GB, free: 9.238 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/1.167, allocations: 1.182 MB / 1.262 GB, free: 8.027 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001856/1.168, allocations: 350.7 kB / 1.262 GB, free: 7.68 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007377/1.169, allocations: 487.3 kB / 1.262 GB, free: 7.203 MB / 0.7917 GB Notification: Performance of SimCode: time 1.172e-06/1.169, allocations: 4 kB / 1.262 GB, free: 7.199 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3611/1.53, allocations: 34.4 MB / 1.296 GB, free: 5.172 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/1.531, allocations: 216.3 kB / 1.296 GB, free: 4.934 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.421/4.951, allocations: 0 / 1.296 GB, free: 4.934 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)