Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.365/1.365, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.0008256/0.0008256, allocations: 190.7 kB / 326.5 MB, free: 2.691 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.381/1.381, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0007665/0.0007664, allocations: 88.94 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.0002918, allocations: 11.59 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.158, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.499/0.657, allocations: 165.3 MB / 1.058 GB, free: 1.887 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00427/0.6613, allocations: 4.136 MB / 1.062 GB, free: 1.828 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.6616, allocations: 17.31 kB / 1.062 GB, free: 1.828 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006115/0.6622, allocations: 200.8 kB / 1.062 GB, free: 1.824 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.6635, allocations: 0.6432 MB / 1.063 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000959/0.6645, allocations: 427.9 kB / 1.063 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003224/0.6677, allocations: 3.81 MB / 1.067 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00291/0.6706, allocations: 2.358 MB / 1.069 GB, free: 1.43 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.6727, allocations: 1.094 MB / 1.071 GB, free: 1.422 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009791/0.6737, allocations: 0.8813 MB / 1.071 GB, free: 1.422 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.6738, allocations: 48.03 kB / 1.071 GB, free: 1.422 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.6754, allocations: 0.8934 MB / 1.072 GB, free: 1.414 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003691/0.6758, allocations: 332.8 kB / 1.073 GB, free: 1.414 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007832/0.6765, allocations: 0.5864 MB / 1.073 GB, free: 1.414 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.6781, allocations: 1.62 MB / 1.075 GB, free: 1.301 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6781, allocations: 1.375 kB / 1.075 GB, free: 1.301 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6781, allocations: 0 / 1.075 GB, free: 1.301 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.6781, allocations: 0 / 1.075 GB, free: 1.301 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002293/0.6804, allocations: 1.503 MB / 1.076 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.6805, allocations: 9.188 kB / 1.076 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007134/0.6812, allocations: 201.6 kB / 1.076 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.6825, allocations: 0.9177 MB / 1.077 GB, free: 16.01 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.6826, allocations: 47.81 kB / 1.077 GB, free: 16.01 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.6827, allocations: 69.14 kB / 1.077 GB, free: 16.01 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.6839, allocations: 0.9958 MB / 1.078 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.684, allocations: 4.438 kB / 1.078 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.937e-05/0.684, allocations: 26.31 kB / 1.078 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.6841, allocations: 17.56 kB / 1.079 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.6851, allocations: 0.8084 MB / 1.079 GB, free: 15.77 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.003674/0.6888, allocations: 4.818 MB / 1.084 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/0.691, allocations: 4.018 MB / 1.088 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004385/0.6915, allocations: 348.2 kB / 1.088 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002625/0.6918, allocations: 194.1 kB / 1.088 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004994/0.6923, allocations: 334.9 kB / 1.089 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000208/0.6925, allocations: 35.62 kB / 1.089 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=35): time 1.814e-06/0.6925, allocations: 0 / 1.089 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35): time 0.00478/0.6973, allocations: 1.78 MB / 1.091 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.6973, allocations: 82.61 kB / 1.091 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.6985, allocations: 1.19 MB / 1.092 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.6985, allocations: 39.83 kB / 1.092 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.6988, allocations: 0.5095 MB / 1.092 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.415e-05/0.6989, allocations: 125.6 kB / 1.092 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/0.699, allocations: 43.62 kB / 1.092 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.6991, allocations: 330.8 kB / 1.093 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.6994, allocations: 236.9 kB / 1.093 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005966/0.7001, allocations: 0.5646 MB / 1.094 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008377/0.7009, allocations: 0.7031 MB / 1.094 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.7009, allocations: 3.469 kB / 1.094 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002083/0.703, allocations: 1.157 MB / 1.095 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.7032, allocations: 276.2 kB / 1.096 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.7032, allocations: 2.969 kB / 1.096 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/0.7045, allocations: 416.5 kB / 1.096 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.7048, allocations: 70.95 kB / 1.096 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009655/0.7058, allocations: 1.047 MB / 1.097 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007702/0.7065, allocations: 101.9 kB / 1.097 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.7066, allocations: 31.09 kB / 1.097 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.28e-06/0.7066, allocations: 3.156 kB / 1.097 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001262/0.7079, allocations: 0.8172 MB / 1.098 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.7079, allocations: 6.141 kB / 1.098 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005553/0.7085, allocations: 282.2 kB / 1.098 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.7087, allocations: 71.42 kB / 1.098 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003033/0.7118, allocations: 3.121 MB / 1.101 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007231/0.7125, allocations: 110 kB / 1.102 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.7125, allocations: 21.81 kB / 1.102 GB, free: 3.672 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 (pulse_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0004245/0.713, allocations: 475.9 kB / 1.102 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.7131, allocations: 106.8 kB / 1.102 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.7143, allocations: 0.8218 MB / 1.103 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.7144, allocations: 3 kB / 1.103 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.7144, allocations: 2.781 kB / 1.103 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002733/0.7146, allocations: 225 kB / 1.103 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.7148, allocations: 10.59 kB / 1.103 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005807/0.7153, allocations: 77.95 kB / 1.103 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.7155, allocations: 53.2 kB / 1.103 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00133/0.7168, allocations: 0.9075 MB / 1.104 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001073/0.7179, allocations: 1.021 MB / 1.105 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002862/0.7182, allocations: 213.9 kB / 1.105 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007985/0.719, allocations: 0.8425 MB / 1.106 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of Backend: time 5.11e-07/0.719, allocations: 0 / 1.106 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002281/0.7213, allocations: 1.244 MB / 1.107 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of SimCode: time 0.003767/0.7251, allocations: 3.115 MB / 1.11 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of Templates: time 0.02888/0.754, allocations: 21.03 MB / 1.131 GB, free: 8.867 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)