Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 183.8 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.4 MB / 0.5775 GB, free: 20.31 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008623/0.0008621, allocations: 90 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003632, allocations: 9.969 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2207, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.7016/0.9224, allocations: 195.2 MB / 1.091 GB, free: 3.27 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01993/0.9424, allocations: 14.51 MB / 1.105 GB, free: 3.047 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002372/0.9448, allocations: 48.28 kB / 1.105 GB, free: 3.047 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003195/0.948, allocations: 0.9576 MB / 1.106 GB, free: 3.043 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01002/0.958, allocations: 2.986 MB / 1.109 GB, free: 3.008 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005123/0.9632, allocations: 1.602 MB / 1.11 GB, free: 2.973 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004364/0.9675, allocations: 2.015 MB / 1.112 GB, free: 2.969 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.969, allocations: 0.9645 MB / 1.113 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003893/0.9729, allocations: 1.635 MB / 1.115 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.9742, allocations: 0.7613 MB / 1.116 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.9744, allocations: 53.53 kB / 1.116 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004/0.9784, allocations: 1.616 MB / 1.117 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003556/0.9788, allocations: 362.3 kB / 1.118 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006033/0.9794, allocations: 335.1 kB / 1.118 GB, free: 18.79 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002446/0.9818, allocations: 1.854 MB / 1.12 GB, free: 18.62 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.9818, allocations: 2.531 kB / 1.12 GB, free: 18.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9818, allocations: 0 / 1.12 GB, free: 18.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.219e-05/0.9819, allocations: 0 / 1.12 GB, free: 18.62 MB / 0.7136 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.003011/0.9849, allocations: 1.687 MB / 1.121 GB, free: 17.65 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.9849, allocations: 8.156 kB / 1.121 GB, free: 17.65 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/0.9851, allocations: 154.1 kB / 1.122 GB, free: 17.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00242/0.9875, allocations: 0.5266 MB / 1.122 GB, free: 17.51 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.9896, allocations: 1.077 MB / 1.123 GB, free: 17.15 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009002/0.9905, allocations: 277.3 kB / 1.123 GB, free: 17.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.9906, allocations: 98.06 kB / 1.123 GB, free: 17.13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.9928, allocations: 1.32 MB / 1.125 GB, free: 16.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.9929, allocations: 9.359 kB / 1.125 GB, free: 16.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.442e-05/0.993, allocations: 48.8 kB / 1.125 GB, free: 16.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.797e-05/0.993, allocations: 40.62 kB / 1.125 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.9953, allocations: 1.109 MB / 1.126 GB, free: 16.8 MB / 0.7136 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.007449/1.003, allocations: 6.76 MB / 1.133 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/1.005, allocations: 0.6343 MB / 1.133 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.076e-05/1.005, allocations: 21.44 kB / 1.133 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/1.005, allocations: 38.05 kB / 1.133 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.455e-06/1.005, allocations: 6.812 kB / 1.133 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.002433/1.007, allocations: 0.896 MB / 1.134 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/1.007, allocations: 65.86 kB / 1.134 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/1.009, allocations: 1.344 MB / 1.135 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.512e-05/1.009, allocations: 39.95 kB / 1.136 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000533/1.01, allocations: 0.6814 MB / 1.136 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/1.01, allocations: 118.2 kB / 1.136 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/1.01, allocations: 16.47 kB / 1.136 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.01, allocations: 329.7 kB / 1.137 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/1.011, allocations: 324.1 kB / 1.137 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/1.013, allocations: 0.6678 MB / 1.138 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009816/1.014, allocations: 408.2 kB / 1.138 GB, free: 10 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/1.014, allocations: 2.812 kB / 1.138 GB, free: 10 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002251/1.016, allocations: 1.05 MB / 1.139 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.00141/1.017, allocations: 3.902 MB / 1.143 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/1.017, allocations: 10.84 kB / 1.143 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/1.017, allocations: 13.78 kB / 1.143 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007958/1.018, allocations: 210.3 kB / 1.143 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.252e-05/1.018, allocations: 22.94 kB / 1.143 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/1.02, allocations: 248.1 kB / 1.143 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.339e-05/1.02, allocations: 36.72 kB / 1.143 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/1.02, allocations: 2.781 kB / 1.143 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001919/1.022, allocations: 0.904 MB / 1.144 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.022, allocations: 11.19 kB / 1.144 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/1.022, allocations: 13.41 kB / 1.144 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007415/1.022, allocations: 207.8 kB / 1.144 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/1.022, allocations: 20.36 kB / 1.144 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/1.024, allocations: 200.8 kB / 1.145 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.257e-05/1.024, allocations: 40.33 kB / 1.145 GB, free: 5.234 MB / 0.7136 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.0006454/1.024, allocations: 421.8 kB / 1.145 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/1.025, allocations: 139.7 kB / 1.145 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/1.026, allocations: 0.6801 MB / 1.146 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.026, allocations: 5.656 kB / 1.146 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/1.026, allocations: 0 / 1.146 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/1.026, allocations: 0 / 1.146 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004121/1.03, allocations: 2.536 MB / 1.148 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.03, allocations: 8.375 kB / 1.148 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004921/1.031, allocations: 109.5 kB / 1.148 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/1.031, allocations: 10.88 kB / 1.148 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/1.031, allocations: 13.94 kB / 1.148 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.29e-05/1.031, allocations: 15.2 kB / 1.149 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/1.031, allocations: 13.06 kB / 1.149 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/1.033, allocations: 1.408 MB / 1.15 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004896/1.033, allocations: 297.2 kB / 1.15 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/1.033, allocations: 22.53 kB / 1.15 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000984/1.034, allocations: 105.3 kB / 1.15 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/1.034, allocations: 44.2 kB / 1.15 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-05/1.035, allocations: 30.06 kB / 1.15 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001257/1.036, allocations: 0.9244 MB / 1.151 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/1.036, allocations: 0 / 1.151 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001654/1.037, allocations: 0.5802 MB / 1.152 GB, free: 1.77 MB / 0.7136 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.003333/1.041, allocations: 4.138 MB / 1.156 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002847/1.044, allocations: 1.158 MB / 1.157 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.044, allocations: 5.25 kB / 1.157 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006624/1.044, allocations: 286.9 kB / 1.157 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002845/1.047, allocations: 0.6344 MB / 1.158 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007447/1.055, allocations: 10.16 MB / 1.168 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00079/1.055, allocations: 1.208 MB / 1.169 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00171/1.057, allocations: 353.9 kB / 1.169 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005694/1.058, allocations: 484.3 kB / 1.17 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of SimCode: time 1.142e-06/1.058, allocations: 0 / 1.17 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0549/1.113, allocations: 32.36 MB / 1.201 GB, free: 7.262 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/1.113, allocations: 223.9 kB / 1.202 GB, free: 7.02 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.808/3.921, allocations: 1.859 kB / 1.202 GB, free: 7.02 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)