Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.211/1.211, allocations: 251.5 MB / 266.7 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.0008934/0.0008935, allocations: 174.2 kB / 325.9 MB, free: 2.719 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.245/1.245, allocations: 205 MB / 0.576 GB, free: 21.04 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.0006884/0.0006884, allocations: 78.38 kB / 0.6797 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002754/0.0002755, allocations: 18.19 kB / 0.7932 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1488, allocations: 105.4 MB / 0.8962 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1278/0.2767, allocations: 159.1 MB / 1.052 GB, free: 4.48 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002331/0.2791, allocations: 1.777 MB / 1.053 GB, free: 2.699 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.2793, allocations: 15.88 kB / 1.053 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.2798, allocations: 135.2 kB / 1.053 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0009083/0.2807, allocations: 486 kB / 1.054 GB, free: 2.074 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008233/0.2815, allocations: 376.9 kB / 1.054 GB, free: 1.711 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006384/0.2822, allocations: 0.7565 MB / 1.055 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.2824, allocations: 152.5 kB / 1.055 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/0.2828, allocations: 294.7 kB / 1.055 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.283, allocations: 159.3 kB / 1.056 GB, free: 364 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.283, allocations: 8 kB / 1.056 GB, free: 356 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3213/0.6043, allocations: 0.7629 MB / 1.056 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.6044, allocations: 74.98 kB / 1.056 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.6046, allocations: 113.5 kB / 1.056 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006493/0.6052, allocations: 0.5098 MB / 1.057 GB, free: 2.668 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.6053, allocations: 0 / 1.057 GB, free: 2.668 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6053, allocations: 0 / 1.057 GB, free: 2.668 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.6053, allocations: 3.281 kB / 1.057 GB, free: 2.668 MB / 0.698 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.0006357/0.6059, allocations: 0.543 MB / 1.058 GB, free: 18.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.606, allocations: 7.812 kB / 1.058 GB, free: 18.25 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.057e-05/0.606, allocations: 49.69 kB / 1.058 GB, free: 18.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000266/0.6063, allocations: 57.61 kB / 1.058 GB, free: 18.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.6065, allocations: 279.9 kB / 1.058 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.6066, allocations: 15.44 kB / 1.058 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.6066, allocations: 16.06 kB / 1.058 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.6069, allocations: 197.9 kB / 1.058 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.6069, allocations: 0 / 1.058 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.6069, allocations: 3.438 kB / 1.058 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.6069, allocations: 12.12 kB / 1.058 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.6072, allocations: 142.3 kB / 1.058 GB, free: 17.91 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.0008147/0.608, allocations: 0.7811 MB / 1.059 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.6082, allocations: 89.17 kB / 1.059 GB, free: 17.37 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.6084, allocations: 91.91 kB / 1.059 GB, free: 17.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/0.6087, allocations: 190.5 kB / 1.059 GB, free: 17.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.6087, allocations: 34.86 kB / 1.059 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.6087, allocations: 0 / 1.059 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0005764/0.6093, allocations: 231.2 kB / 1.06 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.6093, allocations: 54.77 kB / 1.06 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.6095, allocations: 270.2 kB / 1.06 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.6096, allocations: 25.7 kB / 1.06 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.429e-05/0.6096, allocations: 155.5 kB / 1.06 GB, free: 16.78 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.6097, allocations: 35.06 kB / 1.06 GB, free: 16.76 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.6097, allocations: 13.84 kB / 1.06 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.6098, allocations: 333.8 kB / 1.06 GB, free: 16.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.6099, allocations: 48.16 kB / 1.061 GB, free: 16.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.6101, allocations: 96.67 kB / 1.061 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.6103, allocations: 137.9 kB / 1.061 GB, free: 16.35 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6103, allocations: 0 / 1.061 GB, free: 16.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002962/0.6106, allocations: 174.1 kB / 1.061 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.304e-05/0.6107, allocations: 115.4 kB / 1.061 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.6107, allocations: 0 / 1.061 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.6107, allocations: 2.844 kB / 1.061 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.6108, allocations: 28.23 kB / 1.061 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.6108, allocations: 0 / 1.061 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.611, allocations: 30.95 kB / 1.061 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.611, allocations: 7.516 kB / 1.061 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.811e-06/0.6111, allocations: 3.938 kB / 1.061 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002431/0.6113, allocations: 122.2 kB / 1.061 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/0.6113, allocations: 3.938 kB / 1.061 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-06/0.6113, allocations: 1.312 kB / 1.061 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.657e-05/0.6114, allocations: 30.09 kB / 1.061 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.6114, allocations: 4.781 kB / 1.061 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.6116, allocations: 20.78 kB / 1.061 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.6116, allocations: 9.406 kB / 1.061 GB, free: 16.16 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.6117, allocations: 217.7 kB / 1.061 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.6118, allocations: 25.17 kB / 1.061 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.6121, allocations: 175.4 kB / 1.062 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.6121, allocations: 0 / 1.062 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.6121, allocations: 3.703 kB / 1.062 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.6121, allocations: 0.6094 kB / 1.062 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007274/0.6129, allocations: 0.6004 MB / 1.062 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.6129, allocations: 4.547 kB / 1.062 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.717e-05/0.613, allocations: 27.06 kB / 1.062 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.613, allocations: 7.953 kB / 1.062 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.613, allocations: 2.531 kB / 1.062 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.613, allocations: 9.125 kB / 1.062 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.613, allocations: 2.125 kB / 1.062 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.6133, allocations: 306.6 kB / 1.063 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.629e-05/0.6134, allocations: 119.5 kB / 1.063 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.6135, allocations: 8.156 kB / 1.063 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.6137, allocations: 18.98 kB / 1.063 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.6137, allocations: 14.14 kB / 1.063 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.6137, allocations: 8.062 kB / 1.063 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001561/0.6139, allocations: 199.9 kB / 1.063 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6139, allocations: 0 / 1.063 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003501/0.6142, allocations: 93.53 kB / 1.063 GB, free: 15.12 MB / 0.7136 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 (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.0007493/0.615, allocations: 0.89 MB / 1.064 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.6154, allocations: 181.2 kB / 1.064 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6154, allocations: 128 / 1.064 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.6155, allocations: 72.62 kB / 1.064 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007526/0.6163, allocations: 124.6 kB / 1.064 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.6188, allocations: 2.438 MB / 1.067 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.6191, allocations: 0.7569 MB / 1.067 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002198/0.6194, allocations: 70.67 kB / 1.067 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.979e-05/0.6195, allocations: 70.2 kB / 1.068 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.6195, allocations: 0.8438 kB / 1.068 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4918/1.111, allocations: 6.526 MB / 1.074 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/1.111, allocations: 260 kB / 1.074 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.915, allocations: 0 / 1.074 GB, free: 11.42 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)