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.552/1.552, allocations: 252 MB / 267.3 MB, free: 10.8 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.0009862/0.0009863, allocations: 177.7 kB / 327 MB, free: 2.078 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.809/1.809, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.0008455/0.0008455, allocations: 86.34 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003568, allocations: 8.594 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2385, allocations: 106.3 MB / 0.9009 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1874/0.4261, allocations: 157.3 MB / 1.055 GB, free: 1.312 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.5036/0.9297, allocations: 1.744 MB / 1.056 GB, free: 2.145 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004423/0.9302, allocations: 6.906 kB / 1.056 GB, free: 2.145 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005632/0.9307, allocations: 132.9 kB / 1.056 GB, free: 2.145 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.9321, allocations: 498.2 kB / 1.057 GB, free: 2.129 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.9333, allocations: 373.8 kB / 1.057 GB, free: 2.117 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009309/0.9343, allocations: 0.7567 MB / 1.058 GB, free: 2.113 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003135/0.9346, allocations: 151 kB / 1.058 GB, free: 2.102 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007114/0.9353, allocations: 297.2 kB / 1.058 GB, free: 2.094 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.9356, allocations: 154.7 kB / 1.059 GB, free: 2.094 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.9357, allocations: 7.844 kB / 1.059 GB, free: 2.094 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.9372, allocations: 0.7735 MB / 1.059 GB, free: 2.086 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.9373, allocations: 71.73 kB / 1.059 GB, free: 2.086 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.9375, allocations: 136.5 kB / 1.059 GB, free: 2.055 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008356/0.9383, allocations: 0.505 MB / 1.06 GB, free: 2.023 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.9383, allocations: 0 / 1.06 GB, free: 2.023 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.324e-06/0.9383, allocations: 4 kB / 1.06 GB, free: 2.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.9384, allocations: 0 / 1.06 GB, free: 2.02 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.0009283/0.9393, allocations: 0.5467 MB / 1.061 GB, free: 17.56 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.9393, allocations: 8.5 kB / 1.061 GB, free: 17.56 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.196e-05/0.9394, allocations: 46.72 kB / 1.061 GB, free: 17.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003247/0.9397, allocations: 56.19 kB / 1.061 GB, free: 17.51 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.9401, allocations: 296.4 kB / 1.061 GB, free: 17.28 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.9401, allocations: 11.34 kB / 1.061 GB, free: 17.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.9402, allocations: 13.66 kB / 1.061 GB, free: 17.28 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.9406, allocations: 195.3 kB / 1.061 GB, free: 17.22 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.9406, allocations: 0 / 1.061 GB, free: 17.22 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.9406, allocations: 6.984 kB / 1.061 GB, free: 17.22 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.9406, allocations: 12.84 kB / 1.061 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.941, allocations: 135.5 kB / 1.061 GB, free: 17.21 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.001066/0.9421, allocations: 0.7852 MB / 1.062 GB, free: 16.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.9423, allocations: 91.53 kB / 1.062 GB, free: 16.67 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.9425, allocations: 83.73 kB / 1.062 GB, free: 16.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000331/0.9428, allocations: 195.9 kB / 1.062 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.9429, allocations: 31.56 kB / 1.062 GB, free: 16.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.485e-06/0.9429, allocations: 0 / 1.062 GB, free: 16.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0006707/0.9436, allocations: 233.8 kB / 1.063 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.9436, allocations: 54.44 kB / 1.063 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.9439, allocations: 268.7 kB / 1.063 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.9439, allocations: 28.86 kB / 1.063 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.992e-05/0.944, allocations: 152.1 kB / 1.063 GB, free: 16.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.9441, allocations: 33.42 kB / 1.063 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.9441, allocations: 0 / 1.063 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.9442, allocations: 333.5 kB / 1.063 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.9443, allocations: 45.16 kB / 1.064 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.9445, allocations: 99.45 kB / 1.064 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.9448, allocations: 133.7 kB / 1.064 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.9448, allocations: 0 / 1.064 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003387/0.9452, allocations: 173.1 kB / 1.064 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.326e-05/0.9452, allocations: 117.1 kB / 1.064 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.9452, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.9453, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.9454, allocations: 33.16 kB / 1.064 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.9454, allocations: 3.438 kB / 1.064 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.9456, allocations: 31.02 kB / 1.064 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.9457, allocations: 6.438 kB / 1.064 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.851e-06/0.9457, allocations: 2.844 kB / 1.064 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002883/0.946, allocations: 122 kB / 1.064 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.946, allocations: 4.547 kB / 1.064 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-06/0.946, allocations: 2.938 kB / 1.064 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.9461, allocations: 25.23 kB / 1.064 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-06/0.9461, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.9463, allocations: 31.97 kB / 1.064 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.9463, allocations: 9.5 kB / 1.064 GB, free: 15.47 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.000153/0.9465, allocations: 215.3 kB / 1.064 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.9465, allocations: 28.09 kB / 1.065 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003813/0.9469, allocations: 172.4 kB / 1.065 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.9469, allocations: 3.469 kB / 1.065 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.9469, allocations: 1.859 kB / 1.065 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.9469, allocations: 0.5625 kB / 1.065 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008821/0.9478, allocations: 0.5953 MB / 1.065 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.9478, allocations: 3.594 kB / 1.065 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.948, allocations: 27.7 kB / 1.065 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.948, allocations: 6.938 kB / 1.065 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.948, allocations: 8.594 kB / 1.065 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.948, allocations: 0.5625 kB / 1.065 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.948, allocations: 3.469 kB / 1.065 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003676/0.9484, allocations: 308.4 kB / 1.066 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.9485, allocations: 117.7 kB / 1.066 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.9485, allocations: 6.469 kB / 1.066 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.9488, allocations: 19.86 kB / 1.066 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.9488, allocations: 15.86 kB / 1.066 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.9488, allocations: 3.938 kB / 1.066 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001865/0.949, allocations: 202.4 kB / 1.066 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.223e-06/0.949, allocations: 3.938 kB / 1.066 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004548/0.9495, allocations: 97.81 kB / 1.066 GB, free: 14.44 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.0008921/0.9504, allocations: 0.8982 MB / 1.067 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004437/0.9509, allocations: 181.2 kB / 1.067 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9509, allocations: 128 / 1.067 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.951, allocations: 70.78 kB / 1.067 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008554/0.9519, allocations: 123.3 kB / 1.067 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.9552, allocations: 2.46 MB / 1.07 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.9555, allocations: 0.7574 MB / 1.07 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002871/0.9558, allocations: 75.33 kB / 1.07 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.956, allocations: 73.08 kB / 1.071 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/0.956, allocations: 0 / 1.071 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.9779, allocations: 6.526 MB / 1.077 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.9781, allocations: 251.7 kB / 1.077 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.068/3.046, allocations: 1.859 kB / 1.077 GB, free: 10.71 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)