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.444/1.444, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.00124/0.00124, allocations: 182.2 kB / 325.9 MB, free: 2.684 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.459/1.459, allocations: 205 MB / 0.576 GB, free: 20.95 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.000761/0.000761, allocations: 93.12 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.000312, allocations: 14.47 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1585, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.5456/0.7041, allocations: 235.4 MB / 1.126 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01539/0.7195, allocations: 15.94 MB / 1.142 GB, free: 0.5 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.7212, allocations: 55.12 kB / 1.142 GB, free: 0.5 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.7234, allocations: 0.8661 MB / 1.143 GB, free: 496 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006831/0.7302, allocations: 2.992 MB / 1.146 GB, free: 332 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003453/0.7337, allocations: 1.515 MB / 1.147 GB, free: 264 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00509/0.7388, allocations: 4.659 MB / 1.152 GB, free: 248 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.7401, allocations: 1.036 MB / 1.153 GB, free: 64 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005236/0.7454, allocations: 2.048 MB / 1.155 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002442/0.7478, allocations: 1.142 MB / 1.156 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.748, allocations: 47.12 kB / 1.156 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005454/0.7535, allocations: 3.57 MB / 1.159 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004152/0.7539, allocations: 408.3 kB / 1.16 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0008095/0.7547, allocations: 0.7209 MB / 1.16 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003977/0.7587, allocations: 3.051 MB / 1.163 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7587, allocations: 3.938 kB / 1.163 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7587, allocations: 0 / 1.163 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.04e-05/0.7587, allocations: 0 / 1.163 GB, free: 12.27 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.002881/0.7616, allocations: 1.713 MB / 1.165 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.7617, allocations: 12.72 kB / 1.165 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001875/0.7619, allocations: 158.9 kB / 1.165 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002479/0.7644, allocations: 0.514 MB / 1.166 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.7663, allocations: 1.12 MB / 1.167 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009198/0.7673, allocations: 282.1 kB / 1.167 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.7674, allocations: 99.09 kB / 1.167 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.7695, allocations: 1.337 MB / 1.168 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.7696, allocations: 2.625 kB / 1.168 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.306e-05/0.7697, allocations: 42.61 kB / 1.168 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.484e-05/0.7697, allocations: 48.02 kB / 1.168 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/0.7722, allocations: 1.115 MB / 1.17 GB, free: 8.258 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.006789/0.779, allocations: 6.73 MB / 1.176 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.7806, allocations: 0.6115 MB / 1.177 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006573/0.7813, allocations: 280.6 kB / 1.177 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003761/0.7817, allocations: 284.9 kB / 1.177 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.7817, allocations: 38.41 kB / 1.177 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.314e-06/0.7817, allocations: 4 kB / 1.177 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.002479/0.7842, allocations: 0.9023 MB / 1.178 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.7842, allocations: 56.88 kB / 1.178 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.7859, allocations: 1.367 MB / 1.18 GB, free: 344 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.7859, allocations: 31.92 kB / 1.18 GB, free: 308 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000698/0.7866, allocations: 0.7033 MB / 1.18 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.943e-05/0.7867, allocations: 121.2 kB / 1.18 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.7868, allocations: 57.81 kB / 1.18 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.787, allocations: 333.2 kB / 1.181 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008254/0.7878, allocations: 328 kB / 1.181 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.7888, allocations: 0.6744 MB / 1.182 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.7905, allocations: 0.8988 MB / 1.183 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.7905, allocations: 2.344 kB / 1.183 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002185/0.7927, allocations: 1.055 MB / 1.184 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002131/0.793, allocations: 374.2 kB / 1.184 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.793, allocations: 8 kB / 1.184 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.793, allocations: 19.94 kB / 1.184 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008655/0.7939, allocations: 216.6 kB / 1.184 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.7939, allocations: 21.14 kB / 1.184 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.7953, allocations: 238.7 kB / 1.184 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.198e-05/0.7954, allocations: 39.92 kB / 1.185 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-06/0.7954, allocations: 4 kB / 1.185 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002026/0.7974, allocations: 0.9011 MB / 1.185 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.7974, allocations: 8 kB / 1.185 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.7975, allocations: 14.62 kB / 1.185 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008096/0.7983, allocations: 210.7 kB / 1.186 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/0.7983, allocations: 17.06 kB / 1.186 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.7994, allocations: 210.9 kB / 1.186 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-05/0.7995, allocations: 39.98 kB / 1.186 GB, free: 11.14 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.0004621/0.8, allocations: 407.2 kB / 1.186 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.8002, allocations: 146.4 kB / 1.186 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.8019, allocations: 0.6782 MB / 1.187 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.934e-06/0.8019, allocations: 7.984 kB / 1.187 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8019, allocations: 4 kB / 1.187 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.8019, allocations: 3.984 kB / 1.187 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003372/0.8053, allocations: 1.959 MB / 1.189 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.8053, allocations: 7.938 kB / 1.189 GB, free: 7.848 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005182/0.8058, allocations: 109.1 kB / 1.189 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.8059, allocations: 4 kB / 1.189 GB, free: 7.742 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/0.8059, allocations: 12 kB / 1.189 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/0.8059, allocations: 10.62 kB / 1.189 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.8059, allocations: 4 kB / 1.189 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.8074, allocations: 0.8552 MB / 1.19 GB, free: 6.801 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004022/0.8078, allocations: 299.1 kB / 1.19 GB, free: 6.488 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/0.808, allocations: 12 kB / 1.19 GB, free: 6.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.8091, allocations: 107.8 kB / 1.19 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/0.8092, allocations: 38.52 kB / 1.19 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/0.8093, allocations: 15.98 kB / 1.19 GB, free: 6.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001388/0.8106, allocations: 0.9962 MB / 1.191 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8107, allocations: 2.438 kB / 1.191 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001658/0.8123, allocations: 0.5656 MB / 1.192 GB, free: 4.762 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.002302/0.8146, allocations: 1.545 MB / 1.193 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002769/0.8174, allocations: 1.161 MB / 1.195 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.8174, allocations: 4 kB / 1.195 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006869/0.8181, allocations: 281.6 kB / 1.195 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003958/0.8221, allocations: 0.7773 MB / 1.196 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/0.8404, allocations: 10.86 MB / 1.206 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006904/0.8411, allocations: 1.178 MB / 1.207 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001539/0.8427, allocations: 371.4 kB / 1.208 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006501/0.8433, allocations: 0.4954 MB / 1.208 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.8434, allocations: 0 / 1.208 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.187/1.03, allocations: 35.41 MB / 1.243 GB, free: 484 kB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002709/1.031, allocations: 246.1 kB / 1.243 GB, free: 220 kB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.992/4.023, allocations: 0 / 1.243 GB, free: 220 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)