Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop",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.743/1.743, allocations: 288.2 MB / 303.2 MB, free: 8.203 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.001189/0.001189, allocations: 185 kB / 371.8 MB, free: 10.28 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.578/1.578, allocations: 205.4 MB / 0.6305 GB, free: 9.988 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.0008901/0.0008902, allocations: 93.28 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004006, allocations: 16.03 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2314, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.7093/0.9408, allocations: 135.6 MB / 1.112 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00362/0.9445, allocations: 1.612 MB / 1.113 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003165/0.9449, allocations: 12.62 kB / 1.113 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007607/0.9456, allocations: 179.6 kB / 1.114 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.9476, allocations: 490.1 kB / 1.114 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.9495, allocations: 439.5 kB / 1.115 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.000863/0.9504, allocations: 354.3 kB / 1.115 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004322/0.9508, allocations: 136.4 kB / 1.115 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006781/0.9515, allocations: 220.4 kB / 1.115 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.9518, allocations: 110.7 kB / 1.115 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.9518, allocations: 6.094 kB / 1.115 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.953, allocations: 382 kB / 1.116 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.9532, allocations: 67.38 kB / 1.116 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.097e-05/0.9533, allocations: 70.45 kB / 1.116 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.000626/0.9539, allocations: 283.5 kB / 1.116 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.9539, allocations: 0 / 1.116 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.395e-06/0.9539, allocations: 1.312 kB / 1.116 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.525e-06/0.954, allocations: 0 / 1.116 GB, free: 1.566 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00102/0.955, allocations: 0.5313 MB / 1.117 GB, free: 17.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.955, allocations: 9.891 kB / 1.117 GB, free: 17.11 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.461e-05/0.9551, allocations: 46.62 kB / 1.117 GB, free: 17.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003778/0.9555, allocations: 56.48 kB / 1.117 GB, free: 17.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.9559, allocations: 279.3 kB / 1.117 GB, free: 16.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.956, allocations: 11.03 kB / 1.117 GB, free: 16.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.956, allocations: 17.28 kB / 1.117 GB, free: 16.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.9564, allocations: 193.3 kB / 1.117 GB, free: 16.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.9564, allocations: 0 / 1.117 GB, free: 16.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.9565, allocations: 6.812 kB / 1.117 GB, free: 16.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.9565, allocations: 5.344 kB / 1.117 GB, free: 16.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.9568, allocations: 144.8 kB / 1.117 GB, free: 16.76 MB / 0.698 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.001047/0.9579, allocations: 0.7852 MB / 1.118 GB, free: 16.22 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.9582, allocations: 104.5 kB / 1.118 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.9582, allocations: 6.219 kB / 1.118 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.9582, allocations: 33.44 kB / 1.118 GB, free: 16.15 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.9583, allocations: 0 / 1.118 GB, free: 16.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0006794/0.9589, allocations: 232.8 kB / 1.118 GB, free: 16.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.959, allocations: 56.12 kB / 1.119 GB, free: 16.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.9592, allocations: 261.8 kB / 1.119 GB, free: 15.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.9593, allocations: 31.48 kB / 1.119 GB, free: 15.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.9594, allocations: 147.2 kB / 1.119 GB, free: 15.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.9594, allocations: 38.08 kB / 1.119 GB, free: 15.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/0.9594, allocations: 0 / 1.119 GB, free: 15.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.9596, allocations: 338.9 kB / 1.119 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.9597, allocations: 47.06 kB / 1.119 GB, free: 15.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.9599, allocations: 99.72 kB / 1.119 GB, free: 15.42 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.9601, allocations: 51.84 kB / 1.12 GB, free: 15.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.9601, allocations: 4 kB / 1.12 GB, free: 15.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003484/0.9604, allocations: 173.8 kB / 1.12 GB, free: 15.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001838/0.9606, allocations: 361 kB / 1.12 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.9606, allocations: 1.438 kB / 1.12 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.9607, allocations: 1.406 kB / 1.12 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.9608, allocations: 23.17 kB / 1.12 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-06/0.9608, allocations: 4.984 kB / 1.12 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.961, allocations: 27.34 kB / 1.12 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.9611, allocations: 3.969 kB / 1.12 GB, free: 14.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.9611, allocations: 4.031 kB / 1.12 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002842/0.9614, allocations: 125.4 kB / 1.12 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.9614, allocations: 1.5 kB / 1.12 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-06/0.9614, allocations: 2.719 kB / 1.12 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.9615, allocations: 23.38 kB / 1.12 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.9615, allocations: 1.312 kB / 1.12 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.9617, allocations: 28.36 kB / 1.12 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.9617, allocations: 14.88 kB / 1.12 GB, free: 14.96 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001615/0.9619, allocations: 218.5 kB / 1.12 GB, free: 14.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.9619, allocations: 22.56 kB / 1.121 GB, free: 14.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003955/0.9623, allocations: 175.4 kB / 1.121 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.9623, allocations: 1.469 kB / 1.121 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.9623, allocations: 1.281 kB / 1.121 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.9624, allocations: 0 / 1.121 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009019/0.9633, allocations: 0.6007 MB / 1.121 GB, free: 14.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.9633, allocations: 6.188 kB / 1.121 GB, free: 14.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.9634, allocations: 28.34 kB / 1.121 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.9634, allocations: 6.641 kB / 1.121 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.9634, allocations: 2.406 kB / 1.121 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.9634, allocations: 7.125 kB / 1.121 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.9635, allocations: 2.219 kB / 1.121 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.9639, allocations: 393.4 kB / 1.122 GB, free: 13.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.964, allocations: 112 kB / 1.122 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.964, allocations: 6.828 kB / 1.122 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.9642, allocations: 23.19 kB / 1.122 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.9643, allocations: 10.38 kB / 1.122 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.9643, allocations: 7.5 kB / 1.122 GB, free: 13.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002112/0.9645, allocations: 196.8 kB / 1.122 GB, free: 13.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9645, allocations: 0 / 1.122 GB, free: 13.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005231/0.9651, allocations: 91.41 kB / 1.122 GB, free: 13.78 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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.00122/0.9663, allocations: 1.462 MB / 1.124 GB, free: 12.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004873/0.9668, allocations: 183 kB / 1.124 GB, free: 12.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9668, allocations: 1.156 kB / 1.124 GB, free: 12.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.967, allocations: 66.25 kB / 1.124 GB, free: 12.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007847/0.9678, allocations: 128.1 kB / 1.124 GB, free: 12.42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.9702, allocations: 1.765 MB / 1.126 GB, free: 11.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.9706, allocations: 0.7583 MB / 1.126 GB, free: 10.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002541/0.9709, allocations: 71.88 kB / 1.126 GB, free: 10.65 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.971, allocations: 68.78 kB / 1.127 GB, free: 10.64 MB / 0.698 GB Notification: Performance of SimCode: time 1.433e-06/0.971, allocations: 3.938 kB / 1.127 GB, free: 10.64 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.99, allocations: 6.552 MB / 1.133 GB, free: 8.555 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.9903, allocations: 236.8 kB / 1.133 GB, free: 8.312 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.843, allocations: 0 / 1.133 GB, free: 8.312 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)