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.357/1.357, allocations: 252 MB / 267.3 MB, free: 10.86 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.0009539/0.000954, allocations: 173.6 kB / 327 MB, free: 2.094 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.551/1.551, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.001088/0.001088, allocations: 97.61 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003254, allocations: 9.844 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2267, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.7343/0.961, allocations: 232.6 MB / 1.128 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0182/0.9793, allocations: 15.74 MB / 1.143 GB, free: 472 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002442/0.9818, allocations: 56.72 kB / 1.143 GB, free: 468 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002409/0.9842, allocations: 0.8784 MB / 1.144 GB, free: 440 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008015/0.9922, allocations: 2.979 MB / 1.147 GB, free: 288 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004197/0.9964, allocations: 1.524 MB / 1.149 GB, free: 216 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006693/1.003, allocations: 4.655 MB / 1.153 GB, free: 204 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002217/1.005, allocations: 1.039 MB / 1.154 GB, free: 20 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007864/1.013, allocations: 2.051 MB / 1.156 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003917/1.017, allocations: 1.14 MB / 1.157 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0005383/1.018, allocations: 46.97 kB / 1.157 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009/1.027, allocations: 3.57 MB / 1.161 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001431/1.028, allocations: 407.1 kB / 1.161 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002471/1.031, allocations: 0.7438 MB / 1.162 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.008786/1.04, allocations: 3.05 MB / 1.165 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.04, allocations: 4 kB / 1.165 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.956e-06/1.04, allocations: 3.938 kB / 1.165 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001164/1.04, allocations: 0 / 1.165 GB, free: 12.45 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.004578/1.044, allocations: 1.715 MB / 1.167 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/1.044, allocations: 9.469 kB / 1.167 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004098/1.045, allocations: 156.3 kB / 1.167 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002857/1.048, allocations: 0.5334 MB / 1.167 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/1.05, allocations: 1.111 MB / 1.168 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008896/1.051, allocations: 277.9 kB / 1.169 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/1.051, allocations: 108.4 kB / 1.169 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/1.054, allocations: 1.328 MB / 1.17 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/1.054, allocations: 6.156 kB / 1.17 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/1.054, allocations: 44.03 kB / 1.17 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.059e-05/1.054, allocations: 48.17 kB / 1.17 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002735/1.057, allocations: 1.118 MB / 1.171 GB, free: 8.43 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.008815/1.066, allocations: 6.73 MB / 1.178 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/1.068, allocations: 0.5992 MB / 1.178 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007288/1.068, allocations: 282.3 kB / 1.179 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003979/1.069, allocations: 294 kB / 1.179 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/1.069, allocations: 39.25 kB / 1.179 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.525e-06/1.069, allocations: 0.9375 kB / 1.179 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.002916/1.072, allocations: 0.9016 MB / 1.18 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/1.072, allocations: 54.69 kB / 1.18 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002528/1.074, allocations: 1.366 MB / 1.181 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/1.075, allocations: 36.14 kB / 1.181 GB, free: 484 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007536/1.075, allocations: 0.68 MB / 1.182 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/1.076, allocations: 123.3 kB / 1.182 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/1.076, allocations: 15.38 kB / 1.182 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.076, allocations: 337.4 kB / 1.182 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009066/1.077, allocations: 325.1 kB / 1.183 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/1.078, allocations: 0.666 MB / 1.183 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/1.079, allocations: 0.9042 MB / 1.184 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/1.079, allocations: 3.344 kB / 1.184 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002416/1.082, allocations: 1.053 MB / 1.185 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002557/1.082, allocations: 376.3 kB / 1.186 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/1.082, allocations: 8 kB / 1.186 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/1.082, allocations: 19.98 kB / 1.186 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008449/1.083, allocations: 204.6 kB / 1.186 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.621e-05/1.083, allocations: 30.45 kB / 1.186 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/1.085, allocations: 230.7 kB / 1.186 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-05/1.085, allocations: 39.98 kB / 1.186 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/1.085, allocations: 4 kB / 1.186 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002059/1.087, allocations: 0.9041 MB / 1.187 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/1.087, allocations: 12 kB / 1.187 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/1.087, allocations: 12 kB / 1.187 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008227/1.088, allocations: 212.9 kB / 1.187 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.81e-05/1.088, allocations: 14.53 kB / 1.187 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/1.089, allocations: 202.9 kB / 1.188 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.098e-05/1.089, allocations: 46.61 kB / 1.188 GB, free: 11.05 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005698/1.09, allocations: 419 kB / 1.188 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/1.09, allocations: 134.3 kB / 1.188 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/1.092, allocations: 0.686 MB / 1.189 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.092, allocations: 3.938 kB / 1.189 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.092, allocations: 4 kB / 1.189 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.092, allocations: 3.984 kB / 1.189 GB, free: 9.797 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003812/1.096, allocations: 1.964 MB / 1.191 GB, free: 7.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/1.096, allocations: 8.203 kB / 1.191 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005138/1.096, allocations: 105.1 kB / 1.191 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/1.096, allocations: 4 kB / 1.191 GB, free: 7.645 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/1.096, allocations: 12 kB / 1.191 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.886e-06/1.096, allocations: 7.984 kB / 1.191 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.096, allocations: 6.438 kB / 1.191 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/1.098, allocations: 0.8573 MB / 1.192 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005436/1.098, allocations: 299.1 kB / 1.192 GB, free: 6.391 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002604/1.099, allocations: 12 kB / 1.192 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/1.1, allocations: 103.9 kB / 1.192 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/1.1, allocations: 38.38 kB / 1.192 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.339e-05/1.1, allocations: 23.98 kB / 1.192 GB, free: 6.219 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001515/1.101, allocations: 0.9923 MB / 1.193 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.11e-07/1.101, allocations: 4 kB / 1.193 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001731/1.103, allocations: 0.5694 MB / 1.194 GB, free: 4.656 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002353/1.106, allocations: 1.539 MB / 1.195 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002818/1.108, allocations: 1.162 MB / 1.196 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.108, allocations: 7.562 kB / 1.196 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006803/1.109, allocations: 279.8 kB / 1.197 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004341/1.113, allocations: 0.7679 MB / 1.197 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02591/1.139, allocations: 10.89 MB / 1.208 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008739/1.14, allocations: 1.182 MB / 1.209 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001813/1.142, allocations: 371.4 kB / 1.209 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000737/1.143, allocations: 0.4915 MB / 1.21 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of SimCode: time 1.763e-06/1.143, allocations: 8 kB / 1.21 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06421/1.207, allocations: 35.4 MB / 1.245 GB, free: 344 kB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/1.207, allocations: 258.5 kB / 1.245 GB, free: 72 kB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.544/4.751, allocations: 0 / 1.245 GB, free: 72 kB / 0.7761 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)