Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.51/1.51, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001189/0.001189, allocations: 188.8 kB / 326.5 MB, free: 2.246 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.966/1.966, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.00103/0.00103, allocations: 88.7 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003795, allocations: 9.438 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2583, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1662/0.4245, allocations: 135.8 MB / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00328/0.4278, allocations: 1.721 MB / 1.034 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003024/0.4282, allocations: 7.938 kB / 1.034 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006777/0.4289, allocations: 187.1 kB / 1.035 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.4303, allocations: 0.4946 MB / 1.035 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.4316, allocations: 448.8 kB / 1.036 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001716/0.4333, allocations: 1.488 MB / 1.037 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009534/0.4343, allocations: 0.7111 MB / 1.038 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.4354, allocations: 0.6929 MB / 1.038 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005511/0.436, allocations: 493.8 kB / 1.039 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.506e-05/0.436, allocations: 36 kB / 1.039 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009136/0.437, allocations: 415.4 kB / 1.039 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.4372, allocations: 255.1 kB / 1.04 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.4375, allocations: 233.1 kB / 1.04 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.4386, allocations: 0.9669 MB / 1.041 GB, free: 15.58 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4386, allocations: 4 kB / 1.041 GB, free: 15.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.305e-06/0.4386, allocations: 0 / 1.041 GB, free: 15.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.749e-06/0.4386, allocations: 0 / 1.041 GB, free: 15.57 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002247/0.4409, allocations: 1.291 MB / 1.042 GB, free: 14.22 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.4409, allocations: 8.031 kB / 1.042 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001298/0.4411, allocations: 98.5 kB / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007431/0.4418, allocations: 178.5 kB / 1.042 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.4434, allocations: 0.7962 MB / 1.043 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.4434, allocations: 49 kB / 1.043 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.181e-05/0.4435, allocations: 56 kB / 1.043 GB, free: 12.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.4447, allocations: 0.7985 MB / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.4448, allocations: 3.938 kB / 1.044 GB, free: 12.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.037e-05/0.4448, allocations: 24 kB / 1.044 GB, free: 12.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.4449, allocations: 12 kB / 1.044 GB, free: 12.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009196/0.4458, allocations: 0.55 MB / 1.044 GB, free: 11.52 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.004044/0.4498, allocations: 4.606 MB / 1.049 GB, free: 6.527 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007257/0.4506, allocations: 434.2 kB / 1.049 GB, free: 6.094 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.617e-05/0.4506, allocations: 12 kB / 1.049 GB, free: 6.082 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004989/0.4511, allocations: 297.7 kB / 1.05 GB, free: 5.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.014e-06/0.4512, allocations: 0 / 1.05 GB, free: 5.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001346/0.4525, allocations: 0.6486 MB / 1.05 GB, free: 5.113 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.4526, allocations: 110.8 kB / 1.05 GB, free: 4.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.4539, allocations: 1.102 MB / 1.051 GB, free: 3.859 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.4539, allocations: 41.64 kB / 1.052 GB, free: 3.812 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004201/0.4544, allocations: 0.4883 MB / 1.052 GB, free: 3.316 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.811e-05/0.4545, allocations: 106.5 kB / 1.052 GB, free: 3.211 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.4545, allocations: 12 kB / 1.052 GB, free: 3.199 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4546, allocations: 326 kB / 1.052 GB, free: 2.875 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.455, allocations: 184.7 kB / 1.053 GB, free: 2.691 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005963/0.4556, allocations: 0.4935 MB / 1.053 GB, free: 2.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004592/0.4561, allocations: 307.3 kB / 1.053 GB, free: 1.766 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.4561, allocations: 0 / 1.053 GB, free: 1.766 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001118/0.4572, allocations: 0.683 MB / 1.054 GB, free: 1.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.5331/0.9904, allocations: 2.125 MB / 1.056 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/0.9904, allocations: 5.562 kB / 1.056 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.342e-05/0.9905, allocations: 8.906 kB / 1.056 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002066/0.9926, allocations: 372.9 kB / 1.056 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/0.9952, allocations: 6.092 MB / 1.062 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.9962, allocations: 109.9 kB / 1.063 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/0.9963, allocations: 23.5 kB / 1.063 GB, free: 148 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.9963, allocations: 2.844 kB / 1.063 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008815/0.9972, allocations: 0.5449 MB / 1.063 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.9972, allocations: 8.344 kB / 1.063 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.9973, allocations: 8.094 kB / 1.063 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/0.9978, allocations: 157.7 kB / 1.063 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.9978, allocations: 15.58 kB / 1.063 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006617/0.9985, allocations: 93.94 kB / 1.063 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.9985, allocations: 20.22 kB / 1.063 GB, free: 147.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006013/0.9991, allocations: 480.1 kB / 1.064 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.9992, allocations: 105.4 kB / 1.064 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007812/1, allocations: 474 kB / 1.064 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/1, allocations: 5.891 kB / 1.064 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1, allocations: 6 kB / 1.064 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1, allocations: 3.656 kB / 1.064 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/1.002, allocations: 1.105 MB / 1.065 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.002, allocations: 0 / 1.065 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005796/1.002, allocations: 157.5 kB / 1.066 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/1.002, allocations: 2.875 kB / 1.066 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/1.002, allocations: 11.95 kB / 1.066 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/1.004, allocations: 6.021 MB / 1.072 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.004, allocations: 2.625 kB / 1.072 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009706/1.005, allocations: 0.6355 MB / 1.072 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/1.006, allocations: 217.3 kB / 1.072 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/1.006, allocations: 10.83 kB / 1.072 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004576/1.006, allocations: 56.02 kB / 1.072 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/1.006, allocations: 30.52 kB / 1.072 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/1.006, allocations: 13.25 kB / 1.072 GB, free: 140.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001247/1.008, allocations: 0.785 MB / 1.073 GB, free: 140.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.008, allocations: 5.375 kB / 1.073 GB, free: 140.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001248/1.009, allocations: 412.5 kB / 1.074 GB, free: 140.8 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: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001459/1.01, allocations: 1.72 MB / 1.075 GB, free: 139.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003459/1.014, allocations: 1.098 MB / 1.076 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/1.014, allocations: 1.375 kB / 1.076 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009148/1.015, allocations: 309 kB / 1.077 GB, free: 139.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/1.017, allocations: 457.2 kB / 1.077 GB, free: 139.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/1.032, allocations: 9.607 MB / 1.087 GB, free: 133.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009143/1.033, allocations: 1.2 MB / 1.088 GB, free: 133 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001559/1.034, allocations: 386.6 kB / 1.088 GB, free: 133 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004734/1.035, allocations: 315.9 kB / 1.088 GB, free: 133 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/1.035, allocations: 0 / 1.088 GB, free: 133 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05024/1.085, allocations: 26.37 MB / 1.114 GB, free: 112.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/1.085, allocations: 276.2 kB / 1.114 GB, free: 112.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.928/4.013, allocations: 0 / 1.114 GB, free: 112.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)