Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.345/1.345, allocations: 252 MB / 267.6 MB, free: 10.92 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.0009632/0.0009632, allocations: 185.6 kB / 327.3 MB, free: 2.223 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.55/1.55, allocations: 205.4 MB / 0.5783 GB, free: 20.55 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.0007372/0.0007372, allocations: 89 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 10.78 kB / 0.797 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2073, allocations: 106.3 MB / 0.9008 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.1567/0.364, allocations: 152.6 MB / 1.05 GB, free: 7.469 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003749/0.3678, allocations: 2.114 MB / 1.052 GB, free: 5.352 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003967/0.3683, allocations: 15.88 kB / 1.052 GB, free: 5.336 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006134/0.3689, allocations: 147 kB / 1.052 GB, free: 5.191 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.3703, allocations: 0.4937 MB / 1.053 GB, free: 4.695 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.3714, allocations: 379.8 kB / 1.053 GB, free: 4.328 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003004/0.3744, allocations: 3.254 MB / 1.056 GB, free: 1.066 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4707/0.8451, allocations: 2.282 MB / 1.058 GB, free: 4.492 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.8475, allocations: 1.054 MB / 1.059 GB, free: 4.484 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.8488, allocations: 0.85 MB / 1.06 GB, free: 4.48 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.8489, allocations: 50.16 kB / 1.06 GB, free: 4.48 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.8503, allocations: 0.5986 MB / 1.061 GB, free: 4.473 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000404/0.8507, allocations: 329.4 kB / 1.061 GB, free: 4.473 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003642/0.8511, allocations: 250.6 kB / 1.061 GB, free: 4.438 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.8526, allocations: 1.179 MB / 1.062 GB, free: 4.328 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8526, allocations: 1.203 kB / 1.062 GB, free: 4.328 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.334e-06/0.8526, allocations: 0 / 1.062 GB, free: 4.328 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.8526, allocations: 0 / 1.062 GB, free: 4.328 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003032/0.8557, allocations: 1.505 MB / 1.064 GB, free: 19.49 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.8557, allocations: 12.66 kB / 1.064 GB, free: 19.49 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007982/0.8565, allocations: 202.1 kB / 1.064 GB, free: 19.42 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.8581, allocations: 0.871 MB / 1.065 GB, free: 19.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/0.8582, allocations: 51.12 kB / 1.065 GB, free: 19.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.793e-05/0.8583, allocations: 64.19 kB / 1.065 GB, free: 19.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.86, allocations: 0.9936 MB / 1.066 GB, free: 18.86 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.8601, allocations: 2.062 kB / 1.066 GB, free: 18.86 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-05/0.8602, allocations: 32.22 kB / 1.066 GB, free: 18.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.8602, allocations: 14.78 kB / 1.066 GB, free: 18.85 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.8618, allocations: 0.8006 MB / 1.067 GB, free: 18.85 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.005719/0.8675, allocations: 4.82 MB / 1.072 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00287/0.8704, allocations: 4.022 MB / 1.076 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006338/0.871, allocations: 354.3 kB / 1.076 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003407/0.8714, allocations: 199.2 kB / 1.076 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007056/0.8721, allocations: 326.1 kB / 1.076 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005798/0.8727, allocations: 32.53 kB / 1.076 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=35): time 2.745e-06/0.8727, allocations: 0.6562 kB / 1.076 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35): time 0.005155/0.8779, allocations: 1.601 MB / 1.078 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.8779, allocations: 84.17 kB / 1.078 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/0.8804, allocations: 1.175 MB / 1.079 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.239e-05/0.8805, allocations: 38.55 kB / 1.079 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005209/0.881, allocations: 0.5126 MB / 1.08 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.8812, allocations: 131.2 kB / 1.08 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.8812, allocations: 10.03 kB / 1.08 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.8813, allocations: 333.8 kB / 1.08 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/0.8818, allocations: 206.9 kB / 1.08 GB, free: 10 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006363/0.8824, allocations: 0.5308 MB / 1.081 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005503/0.883, allocations: 323.3 kB / 1.081 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/0.883, allocations: 2.656 kB / 1.081 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002428/0.8854, allocations: 1.038 MB / 1.082 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.8856, allocations: 274.9 kB / 1.082 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.8856, allocations: 6.125 kB / 1.083 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.8869, allocations: 336.7 kB / 1.083 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/0.8873, allocations: 116.9 kB / 1.083 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.8885, allocations: 1.004 MB / 1.084 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.8897, allocations: 102.5 kB / 1.084 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.525e-05/0.8898, allocations: 24.81 kB / 1.084 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.8898, allocations: 4.438 kB / 1.084 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001397/0.8912, allocations: 0.7819 MB / 1.085 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.8912, allocations: 5.469 kB / 1.085 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006047/0.8918, allocations: 237 kB / 1.085 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.8923, allocations: 105.6 kB / 1.085 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003876/0.8961, allocations: 2.934 MB / 1.088 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.8973, allocations: 97.81 kB / 1.088 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/0.8974, allocations: 26.69 kB / 1.088 GB, free: 7.051 MB / 0.7136 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0008608/0.8982, allocations: 469.8 kB / 1.089 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.8985, allocations: 111.7 kB / 1.089 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.8999, allocations: 0.7891 MB / 1.089 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.9, allocations: 3.688 kB / 1.089 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.9, allocations: 0 / 1.089 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.9, allocations: 4.312 kB / 1.089 GB, free: 6.699 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 postOpt removeSimpleEquations (simulation): time 0.003258/0.9032, allocations: 2.134 MB / 1.092 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.9033, allocations: 4.219 kB / 1.092 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/0.9036, allocations: 75.53 kB / 1.092 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003866/0.904, allocations: 175.3 kB / 1.092 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.904, allocations: 15.03 kB / 1.092 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007291/0.9047, allocations: 0.8554 MB / 1.093 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.9048, allocations: 3.125 kB / 1.093 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.906, allocations: 0.872 MB / 1.093 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004881/0.9065, allocations: 234.6 kB / 1.094 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/0.9067, allocations: 12.16 kB / 1.094 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008166/0.9075, allocations: 72.19 kB / 1.094 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.9076, allocations: 41.11 kB / 1.094 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.9077, allocations: 14.38 kB / 1.094 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001255/0.9089, allocations: 0.8256 MB / 1.095 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9089, allocations: 0 / 1.095 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001809/0.9108, allocations: 0.5062 MB / 1.095 GB, free: 4.711 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005372/0.9113, allocations: 197 kB / 1.095 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002206/0.9135, allocations: 1.12 MB / 1.096 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.9135, allocations: 0 / 1.096 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004594/0.914, allocations: 243.3 kB / 1.097 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003423/0.9174, allocations: 0.6617 MB / 1.097 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.921, allocations: 2.152 MB / 1.099 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008505/0.9218, allocations: 1.213 MB / 1.101 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.922, allocations: 71.38 kB / 1.101 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of SimCode: time 7.52e-07/0.9221, allocations: 0 / 1.101 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of Templates: time 0.03612/0.9582, allocations: 22.43 MB / 1.123 GB, free: 10.82 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)