Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.594/1.594, allocations: 288.4 MB / 303.3 MB, free: 8.062 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.000996/0.0009962, allocations: 172.5 kB / 372 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.328/1.328, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0006992/0.0006991, allocations: 87.84 kB / 0.744 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000518/0.000518, allocations: 10.47 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1874, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.5126/0.7, allocations: 216.7 MB / 1.191 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01792/0.718, allocations: 14.61 MB / 1.206 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.7195, allocations: 49.41 kB / 1.206 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.7214, allocations: 0.6562 MB / 1.206 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00501/0.7264, allocations: 2.124 MB / 1.208 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003258/0.7297, allocations: 1.254 MB / 1.209 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.004241/0.7339, allocations: 3.953 MB / 1.213 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.7351, allocations: 0.9447 MB / 1.214 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003786/0.7389, allocations: 1.912 MB / 1.216 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.7402, allocations: 1.004 MB / 1.217 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.7404, allocations: 46.34 kB / 1.217 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003607/0.744, allocations: 1.907 MB / 1.219 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003605/0.7443, allocations: 392 kB / 1.219 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003403/0.7447, allocations: 331.9 kB / 1.22 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.7469, allocations: 2.033 MB / 1.222 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7469, allocations: 0 / 1.222 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.492e-06/0.7469, allocations: 4 kB / 1.222 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.934e-05/0.747, allocations: 0 / 1.222 GB, free: 2.871 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.002957/0.7499, allocations: 1.737 MB / 1.223 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.75, allocations: 12.03 kB / 1.223 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001721/0.7502, allocations: 148.2 kB / 1.224 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002623/0.7528, allocations: 0.5444 MB / 1.224 GB, free: 376 kB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.7547, allocations: 1.068 MB / 1.225 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009442/0.7557, allocations: 273.8 kB / 1.225 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.7558, allocations: 100 kB / 1.225 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/0.7581, allocations: 1.334 MB / 1.227 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.7582, allocations: 3.938 kB / 1.227 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.7583, allocations: 43.95 kB / 1.227 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.061e-05/0.7583, allocations: 49.98 kB / 1.227 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002403/0.7608, allocations: 1.101 MB / 1.228 GB, free: 12.26 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.006992/0.7678, allocations: 6.647 MB / 1.234 GB, free: 5.164 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.7695, allocations: 0.5986 MB / 1.235 GB, free: 4.559 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006622/0.7702, allocations: 281.2 kB / 1.235 GB, free: 4.281 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003681/0.7705, allocations: 291.5 kB / 1.236 GB, free: 3.941 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.7706, allocations: 38.78 kB / 1.236 GB, free: 3.895 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 1.784e-06/0.7706, allocations: 0 / 1.236 GB, free: 3.895 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.002428/0.773, allocations: 0.9172 MB / 1.237 GB, free: 2.969 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.7731, allocations: 55.41 kB / 1.237 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.7748, allocations: 1.346 MB / 1.238 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.519e-05/0.7748, allocations: 33.7 kB / 1.238 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004959/0.7753, allocations: 0.6871 MB / 1.239 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.7754, allocations: 118.4 kB / 1.239 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.7755, allocations: 16 kB / 1.239 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.7756, allocations: 330 kB / 1.239 GB, free: 364 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008662/0.7765, allocations: 325.1 kB / 1.239 GB, free: 36 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.7776, allocations: 0.6637 MB / 1.24 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009593/0.7785, allocations: 403.6 kB / 1.24 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.7786, allocations: 0 / 1.24 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002301/0.7809, allocations: 1.054 MB / 1.241 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002352/0.7811, allocations: 387.1 kB / 1.242 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.7811, allocations: 8 kB / 1.242 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/0.7812, allocations: 16 kB / 1.242 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008659/0.782, allocations: 203.7 kB / 1.242 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.33e-05/0.7821, allocations: 19.94 kB / 1.242 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.7834, allocations: 238.8 kB / 1.242 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.729e-05/0.7835, allocations: 32 kB / 1.242 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.262e-06/0.7835, allocations: 7.938 kB / 1.242 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00211/0.7856, allocations: 0.9053 MB / 1.243 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.7856, allocations: 12 kB / 1.243 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.7857, allocations: 12 kB / 1.243 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000821/0.7865, allocations: 208.6 kB / 1.243 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.7865, allocations: 19.92 kB / 1.243 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.7876, allocations: 202.9 kB / 1.244 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.274e-05/0.7877, allocations: 47.94 kB / 1.244 GB, free: 11.34 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.000492/0.7882, allocations: 408.8 kB / 1.244 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.7884, allocations: 142.3 kB / 1.244 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.7901, allocations: 0.6868 MB / 1.245 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.7901, allocations: 4 kB / 1.245 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.7901, allocations: 0 / 1.245 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.7901, allocations: 4 kB / 1.245 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003404/0.7935, allocations: 1.949 MB / 1.247 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.7935, allocations: 4 kB / 1.247 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005243/0.7941, allocations: 104 kB / 1.247 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.7941, allocations: 8 kB / 1.247 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.7941, allocations: 12 kB / 1.247 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.7941, allocations: 4 kB / 1.247 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.7942, allocations: 11.92 kB / 1.247 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.7957, allocations: 0.8413 MB / 1.248 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003824/0.7961, allocations: 287.2 kB / 1.248 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.7963, allocations: 8 kB / 1.248 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000999/0.7973, allocations: 103.9 kB / 1.248 GB, free: 6.562 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/0.7974, allocations: 35.86 kB / 1.248 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.771e-05/0.7974, allocations: 27.97 kB / 1.248 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001255/0.7987, allocations: 0.9239 MB / 1.249 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7987, allocations: 0 / 1.249 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001448/0.8002, allocations: 0.577 MB / 1.25 GB, free: 5 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.002252/0.8024, allocations: 1.538 MB / 1.251 GB, free: 3.398 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002795/0.8052, allocations: 1.152 MB / 1.252 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8052, allocations: 0 / 1.252 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006882/0.8059, allocations: 278 kB / 1.252 GB, free: 1.98 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/0.8087, allocations: 0.6366 MB / 1.253 GB, free: 1.352 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/0.8232, allocations: 7.813 MB / 1.261 GB, free: 9.062 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007081/0.8239, allocations: 1.185 MB / 1.262 GB, free: 7.848 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001495/0.8254, allocations: 350.7 kB / 1.262 GB, free: 7.5 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000595/0.826, allocations: 487.3 kB / 1.263 GB, free: 7.023 MB / 0.7917 GB Notification: Performance of SimCode: time 6.21e-07/0.826, allocations: 0 / 1.263 GB, free: 7.023 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07031/0.8963, allocations: 33.24 MB / 1.295 GB, free: 6.133 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.8966, allocations: 233 kB / 1.295 GB, free: 5.887 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.671/3.567, allocations: 0 / 1.295 GB, free: 5.887 MB / 0.823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)