Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 2.045/2.045, allocations: 288.4 MB / 303.3 MB, free: 8.125 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.001113/0.001113, allocations: 176.5 kB / 372 MB, free: 10.24 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.651/1.651, allocations: 205.4 MB / 0.6307 GB, free: 9.93 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.0007903/0.0007903, allocations: 94.33 kB / 0.7441 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004215/0.0004216, allocations: 11.69 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2354, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.7023/0.9377, allocations: 146.7 MB / 1.123 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003416/0.9412, allocations: 1.655 MB / 1.125 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000448/0.9416, allocations: 8.781 kB / 1.125 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005611/0.9422, allocations: 106.9 kB / 1.125 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.9436, allocations: 398.8 kB / 1.125 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.9449, allocations: 333 kB / 1.125 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003417/0.9483, allocations: 2.977 MB / 1.128 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.9496, allocations: 0.6919 MB / 1.129 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.9516, allocations: 0.8658 MB / 1.13 GB, free: 388 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000929/0.9525, allocations: 0.7093 MB / 1.13 GB, free: 232 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.343e-05/0.9526, allocations: 35.47 kB / 1.131 GB, free: 232 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.954, allocations: 0.554 MB / 1.131 GB, free: 188 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003192/0.9543, allocations: 279.2 kB / 1.131 GB, free: 144 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003775/0.9547, allocations: 230.6 kB / 1.132 GB, free: 76 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.9562, allocations: 1.022 MB / 1.133 GB, free: 15.97 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.9562, allocations: 3 kB / 1.133 GB, free: 15.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9562, allocations: 0 / 1.133 GB, free: 15.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.9562, allocations: 4 kB / 1.133 GB, free: 15.97 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.002527/0.9587, allocations: 1.305 MB / 1.134 GB, free: 15.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.9588, allocations: 9.469 kB / 1.134 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/0.9589, allocations: 96.25 kB / 1.134 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007473/0.9597, allocations: 178.3 kB / 1.134 GB, free: 15.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.9612, allocations: 0.8057 MB / 1.135 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.181e-05/0.9612, allocations: 44.53 kB / 1.135 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.016e-05/0.9613, allocations: 58.44 kB / 1.135 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.9626, allocations: 0.7915 MB / 1.136 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.9626, allocations: 7.344 kB / 1.136 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.619e-05/0.9627, allocations: 21.31 kB / 1.136 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.9627, allocations: 14.25 kB / 1.136 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000891/0.9636, allocations: 0.5452 MB / 1.136 GB, free: 14.38 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.004539/0.9681, allocations: 4.598 MB / 1.141 GB, free: 10.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007093/0.9689, allocations: 432.2 kB / 1.141 GB, free: 10.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004633/0.9694, allocations: 251.3 kB / 1.141 GB, free: 10.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003357/0.9697, allocations: 194.4 kB / 1.142 GB, free: 10.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006021/0.9703, allocations: 294 kB / 1.142 GB, free: 9.977 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.445e-06/0.9703, allocations: 0 / 1.142 GB, free: 9.977 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001505/0.9718, allocations: 0.6457 MB / 1.143 GB, free: 9.777 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.9719, allocations: 83.67 kB / 1.143 GB, free: 9.684 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.9735, allocations: 1.115 MB / 1.144 GB, free: 9.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.187e-05/0.9736, allocations: 36.45 kB / 1.144 GB, free: 9.289 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004179/0.974, allocations: 497.7 kB / 1.144 GB, free: 9.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.9741, allocations: 112.4 kB / 1.144 GB, free: 8.992 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.9742, allocations: 8.812 kB / 1.144 GB, free: 8.992 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.9743, allocations: 328.6 kB / 1.145 GB, free: 8.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.9747, allocations: 183.4 kB / 1.145 GB, free: 8.641 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006343/0.9753, allocations: 0.4975 MB / 1.145 GB, free: 8.215 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/0.9758, allocations: 290.9 kB / 1.146 GB, free: 8.121 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.9758, allocations: 2.281 kB / 1.146 GB, free: 8.121 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001267/0.9771, allocations: 0.6889 MB / 1.146 GB, free: 7.871 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002068/0.9773, allocations: 274.4 kB / 1.147 GB, free: 7.551 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.9773, allocations: 9.641 kB / 1.147 GB, free: 7.547 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.9774, allocations: 8.562 kB / 1.147 GB, free: 7.547 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00199/0.9794, allocations: 375.6 kB / 1.147 GB, free: 7.418 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003865/0.9832, allocations: 6.092 MB / 1.153 GB, free: 1.418 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.9844, allocations: 103.5 kB / 1.153 GB, free: 1.371 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.328e-05/0.9845, allocations: 34.47 kB / 1.153 GB, free: 1.359 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.9846, allocations: 3.125 kB / 1.153 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001028/0.9856, allocations: 0.5391 MB / 1.154 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.9856, allocations: 6.656 kB / 1.154 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.9857, allocations: 11.47 kB / 1.154 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006592/0.9863, allocations: 162.1 kB / 1.154 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.9863, allocations: 7.906 kB / 1.154 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000991/0.9873, allocations: 91.39 kB / 1.154 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.893e-05/0.9874, allocations: 23.97 kB / 1.154 GB, free: 1.121 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.000971/0.9884, allocations: 475.2 kB / 1.154 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002578/0.9886, allocations: 101.7 kB / 1.154 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.9897, allocations: 0.4971 MB / 1.155 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.9897, allocations: 3.312 kB / 1.155 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.9897, allocations: 1.219 kB / 1.155 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.9897, allocations: 0 / 1.155 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/0.9922, allocations: 1.398 MB / 1.156 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.9922, allocations: 2.781 kB / 1.156 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006546/0.9929, allocations: 158.9 kB / 1.156 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.9929, allocations: 4.062 kB / 1.156 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.993, allocations: 7.594 kB / 1.156 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/0.9962, allocations: 6.027 MB / 1.162 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.9962, allocations: 6.188 kB / 1.162 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.9974, allocations: 0.616 MB / 1.163 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004894/0.9979, allocations: 223.2 kB / 1.163 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.998, allocations: 10.52 kB / 1.163 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005673/0.9986, allocations: 56.08 kB / 1.163 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.952e-05/0.9987, allocations: 35.2 kB / 1.163 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.9987, allocations: 9.219 kB / 1.163 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001226/1, allocations: 0.7847 MB / 1.164 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.5e-07/1, allocations: 1.094 kB / 1.164 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001427/1.001, allocations: 404.6 kB / 1.164 GB, free: 9.082 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: 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.001687/1.003, allocations: 1.247 MB / 1.166 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003374/1.007, allocations: 1.1 MB / 1.167 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.007, allocations: 0 / 1.167 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009078/1.007, allocations: 297.8 kB / 1.167 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/1.01, allocations: 456.2 kB / 1.167 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/1.023, allocations: 6.312 MB / 1.174 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000841/1.024, allocations: 1.177 MB / 1.175 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001308/1.025, allocations: 374.8 kB / 1.175 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004001/1.025, allocations: 312.5 kB / 1.175 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of SimCode: time 1.032e-06/1.025, allocations: 0 / 1.175 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05714/1.082, allocations: 26.44 MB / 1.201 GB, free: 196 kB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003661/1.083, allocations: 275.4 kB / 1.201 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.064/4.147, allocations: 7.312 kB / 1.201 GB, free: 15.83 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)