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.323/1.323, allocations: 252 MB / 268 MB, free: 10.86 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.0009391/0.0009391, allocations: 187.6 kB / 327.6 MB, free: 2.094 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.443/1.443, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.0007166/0.0007167, allocations: 89.52 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003334, allocations: 8.531 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1828, allocations: 106.3 MB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.5529/0.7357, allocations: 163.5 MB / 1.061 GB, free: 2.012 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004785/0.7406, allocations: 4.079 MB / 1.065 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004897/0.7411, allocations: 17.47 kB / 1.065 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007239/0.7419, allocations: 201.6 kB / 1.065 GB, free: 1.938 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.7435, allocations: 0.6313 MB / 1.066 GB, free: 1.91 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.7448, allocations: 442.3 kB / 1.066 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003519/0.7483, allocations: 3.806 MB / 1.07 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003189/0.7515, allocations: 2.357 MB / 1.072 GB, free: 1.551 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002668/0.7542, allocations: 1.094 MB / 1.073 GB, free: 1.543 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.7557, allocations: 0.8811 MB / 1.074 GB, free: 1.539 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.7559, allocations: 48.28 kB / 1.074 GB, free: 1.539 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/0.7581, allocations: 0.8996 MB / 1.075 GB, free: 1.531 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004334/0.7585, allocations: 333.6 kB / 1.076 GB, free: 1.527 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009009/0.7594, allocations: 0.6059 MB / 1.076 GB, free: 1.496 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.7608, allocations: 1.192 MB / 1.077 GB, free: 1.387 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.7608, allocations: 0 / 1.077 GB, free: 1.387 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.525e-06/0.7608, allocations: 0 / 1.077 GB, free: 1.387 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.876e-05/0.7608, allocations: 6.906 kB / 1.077 GB, free: 1.383 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.002783/0.7636, allocations: 1.506 MB / 1.079 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.7637, allocations: 9.75 kB / 1.079 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000756/0.7644, allocations: 204.6 kB / 1.079 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.766, allocations: 0.9207 MB / 1.08 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.745e-05/0.766, allocations: 46.06 kB / 1.08 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.7662, allocations: 63.84 kB / 1.08 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.7677, allocations: 0.9963 MB / 1.081 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.7677, allocations: 1.469 kB / 1.081 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.56e-05/0.7678, allocations: 22.5 kB / 1.081 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.7678, allocations: 21.09 kB / 1.081 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.769, allocations: 0.8118 MB / 1.082 GB, free: 15.84 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.004308/0.7733, allocations: 4.816 MB / 1.086 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/0.7755, allocations: 4.02 MB / 1.09 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004535/0.7759, allocations: 351.5 kB / 1.091 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002742/0.7762, allocations: 200.1 kB / 1.091 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004998/0.7767, allocations: 338.1 kB / 1.091 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004563/0.7772, allocations: 28.72 kB / 1.091 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=35): time 2.044e-06/0.7772, allocations: 0 / 1.091 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35): time 0.00611/0.7833, allocations: 1.788 MB / 1.093 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.7834, allocations: 84.06 kB / 1.093 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.7851, allocations: 1.191 MB / 1.094 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.913e-05/0.7853, allocations: 40.39 kB / 1.094 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005301/0.7858, allocations: 0.5068 MB / 1.095 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.786, allocations: 124.6 kB / 1.095 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.786, allocations: 14.38 kB / 1.095 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.7862, allocations: 326.5 kB / 1.095 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005514/0.7867, allocations: 234.5 kB / 1.095 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009038/0.7876, allocations: 0.5676 MB / 1.096 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.789, allocations: 0.6934 MB / 1.097 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.789, allocations: 0 / 1.097 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003537/0.7925, allocations: 1.165 MB / 1.098 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002589/0.7928, allocations: 275.2 kB / 1.098 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.7928, allocations: 6.156 kB / 1.098 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001994/0.7948, allocations: 406.6 kB / 1.098 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.7953, allocations: 78.12 kB / 1.099 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.7969, allocations: 1.055 MB / 1.1 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.7986, allocations: 99.72 kB / 1.1 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.22e-05/0.7987, allocations: 27.47 kB / 1.1 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.7988, allocations: 3.312 kB / 1.1 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002061/0.8008, allocations: 0.8241 MB / 1.101 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.8008, allocations: 2.906 kB / 1.101 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008854/0.8017, allocations: 262.5 kB / 1.101 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/0.8022, allocations: 81.58 kB / 1.101 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00593/0.8082, allocations: 3.142 MB / 1.104 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.8102, allocations: 101.3 kB / 1.104 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.107e-05/0.8103, allocations: 27.56 kB / 1.104 GB, free: 3.75 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 (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.001086/0.8114, allocations: 480.3 kB / 1.105 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003135/0.8118, allocations: 106.8 kB / 1.105 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/0.8142, allocations: 0.8209 MB / 1.105 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.8143, allocations: 2.844 kB / 1.105 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8143, allocations: 0 / 1.105 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.8143, allocations: 3.594 kB / 1.105 GB, free: 3.387 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.005102/0.8194, allocations: 2.175 MB / 1.108 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.8195, allocations: 3.938 kB / 1.108 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/0.8199, allocations: 54.28 kB / 1.108 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008756/0.8208, allocations: 205.2 kB / 1.108 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/0.8209, allocations: 9.781 kB / 1.108 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.8221, allocations: 0.8776 MB / 1.109 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.8222, allocations: 2.906 kB / 1.109 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/0.8244, allocations: 0.9042 MB / 1.11 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007968/0.8253, allocations: 239.7 kB / 1.11 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/0.8255, allocations: 10.62 kB / 1.11 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/0.8269, allocations: 77.61 kB / 1.11 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.827, allocations: 33.61 kB / 1.11 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.618e-05/0.8271, allocations: 19.06 kB / 1.11 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001821/0.8289, allocations: 0.8381 MB / 1.111 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.024e-06/0.8289, allocations: 0 / 1.111 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002456/0.8314, allocations: 0.5025 MB / 1.111 GB, free: 1.379 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005951/0.832, allocations: 185.9 kB / 1.111 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003118/0.8352, allocations: 1.154 MB / 1.113 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.8352, allocations: 0 / 1.113 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007575/0.836, allocations: 260.3 kB / 1.113 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006693/0.8427, allocations: 0.659 MB / 1.113 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005627/0.8483, allocations: 2.251 MB / 1.116 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.8496, allocations: 1.211 MB / 1.117 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000422/0.8501, allocations: 69.91 kB / 1.117 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of SimCode: time 1.172e-06/0.8501, allocations: 0 / 1.117 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of Templates: time 0.05431/0.9044, allocations: 22.3 MB / 1.139 GB, free: 4.762 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)