Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.334/1.334, allocations: 251.5 MB / 267.4 MB, free: 11.03 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.0009164/0.0009164, allocations: 170.1 kB / 326.5 MB, free: 2.648 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.425/1.425, allocations: 205 MB / 0.5766 GB, free: 20.95 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.0006975/0.0006975, allocations: 98.34 kB / 0.6804 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.0003008, allocations: 17.47 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1806, allocations: 105.4 MB / 0.8967 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.5173/0.6979, allocations: 165.3 MB / 1.058 GB, free: 1.906 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004448/0.7024, allocations: 4.132 MB / 1.062 GB, free: 1.852 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003402/0.7028, allocations: 18.25 kB / 1.062 GB, free: 1.848 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006289/0.7034, allocations: 204.9 kB / 1.062 GB, free: 1.844 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.7049, allocations: 0.6327 MB / 1.063 GB, free: 1.812 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.706, allocations: 437.9 kB / 1.063 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003582/0.7096, allocations: 3.807 MB / 1.067 GB, free: 1.785 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003665/0.7133, allocations: 2.366 MB / 1.069 GB, free: 1.449 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003089/0.7164, allocations: 1.087 MB / 1.071 GB, free: 1.445 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.7179, allocations: 0.8869 MB / 1.071 GB, free: 1.441 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.7181, allocations: 47.91 kB / 1.071 GB, free: 1.441 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/0.7201, allocations: 0.8936 MB / 1.072 GB, free: 1.434 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000483/0.7206, allocations: 339 kB / 1.073 GB, free: 1.43 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000955/0.7216, allocations: 0.5827 MB / 1.073 GB, free: 1.43 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.7229, allocations: 1.198 MB / 1.074 GB, free: 1.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7229, allocations: 3.047 kB / 1.074 GB, free: 1.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7229, allocations: 0 / 1.074 GB, free: 1.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.606e-05/0.7229, allocations: 0 / 1.074 GB, free: 1.32 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.002417/0.7253, allocations: 1.502 MB / 1.076 GB, free: 16.47 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.7254, allocations: 10.34 kB / 1.076 GB, free: 16.47 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007385/0.7261, allocations: 197.3 kB / 1.076 GB, free: 16.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.7275, allocations: 0.9203 MB / 1.077 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.173e-05/0.7276, allocations: 53.53 kB / 1.077 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.7277, allocations: 63.72 kB / 1.077 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.729, allocations: 0.994 MB / 1.078 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.729, allocations: 1.625 kB / 1.078 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-05/0.7291, allocations: 23.28 kB / 1.078 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.7291, allocations: 17.19 kB / 1.078 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.7303, allocations: 0.8106 MB / 1.079 GB, free: 15.79 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.00389/0.7342, allocations: 4.814 MB / 1.084 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.7363, allocations: 4.018 MB / 1.087 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00048/0.7368, allocations: 346.3 kB / 1.088 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002875/0.7371, allocations: 200.7 kB / 1.088 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005018/0.7376, allocations: 328.8 kB / 1.088 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000295/0.7379, allocations: 36.47 kB / 1.088 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=35): time 1.984e-06/0.7379, allocations: 0 / 1.088 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35): time 0.005144/0.7431, allocations: 1.73 MB / 1.09 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.7431, allocations: 88.31 kB / 1.09 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.7443, allocations: 1.188 MB / 1.091 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.852e-05/0.7444, allocations: 34.98 kB / 1.091 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003228/0.7447, allocations: 0.5069 MB / 1.092 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.267e-05/0.7448, allocations: 120.7 kB / 1.092 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.7449, allocations: 46.84 kB / 1.092 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.892e-05/0.745, allocations: 334.5 kB / 1.092 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.7453, allocations: 235.3 kB / 1.093 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005832/0.7459, allocations: 0.5612 MB / 1.093 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007985/0.7467, allocations: 0.709 MB / 1.094 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7468, allocations: 0 / 1.094 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002285/0.749, allocations: 1.158 MB / 1.095 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.7492, allocations: 274.9 kB / 1.095 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.7492, allocations: 6.25 kB / 1.095 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.7508, allocations: 480.6 kB / 1.096 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.7511, allocations: 78.36 kB / 1.096 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.7524, allocations: 1.129 MB / 1.097 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.7536, allocations: 99.94 kB / 1.097 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.731e-05/0.7537, allocations: 27.91 kB / 1.097 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.7537, allocations: 2.969 kB / 1.097 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001519/0.7552, allocations: 0.815 MB / 1.098 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.7552, allocations: 7.094 kB / 1.098 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006346/0.7559, allocations: 260.9 kB / 1.098 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.7562, allocations: 70.59 kB / 1.098 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003597/0.7598, allocations: 3.146 MB / 1.101 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008999/0.7607, allocations: 98.36 kB / 1.101 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.7607, allocations: 30.97 kB / 1.101 GB, free: 3.691 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 {(11,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006134/0.7614, allocations: 482.5 kB / 1.102 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.7615, allocations: 107.3 kB / 1.102 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.7629, allocations: 0.8316 MB / 1.103 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.763, allocations: 7.094 kB / 1.103 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.763, allocations: 0 / 1.103 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.763, allocations: 6.125 kB / 1.103 GB, free: 3.316 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.003243/0.7662, allocations: 2.161 MB / 1.105 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.7662, allocations: 0 / 1.105 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.7665, allocations: 46.84 kB / 1.105 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005087/0.767, allocations: 244.1 kB / 1.105 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.767, allocations: 14.06 kB / 1.105 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009552/0.768, allocations: 0.9415 MB / 1.106 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.768, allocations: 2.906 kB / 1.106 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.7693, allocations: 0.8935 MB / 1.107 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003977/0.7697, allocations: 231.7 kB / 1.107 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.7699, allocations: 17.08 kB / 1.107 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006788/0.7705, allocations: 83.78 kB / 1.107 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/0.7706, allocations: 31.08 kB / 1.107 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.7707, allocations: 11.59 kB / 1.107 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009907/0.7717, allocations: 0.8378 MB / 1.108 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7717, allocations: 0 / 1.108 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00139/0.7731, allocations: 0.5108 MB / 1.109 GB, free: 1.312 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 {(11,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000425/0.7735, allocations: 186.5 kB / 1.109 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002399/0.7759, allocations: 1.314 MB / 1.11 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.7759, allocations: 3.688 kB / 1.11 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005823/0.7765, allocations: 312.8 kB / 1.11 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/0.7797, allocations: 0.6551 MB / 1.111 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003323/0.783, allocations: 2.342 MB / 1.113 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.784, allocations: 1.212 MB / 1.114 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.7843, allocations: 65.69 kB / 1.114 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of SimCode: time 4.31e-07/0.7843, allocations: 0 / 1.114 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of Templates: time 0.02959/0.8139, allocations: 22.69 MB / 1.137 GB, free: 5.379 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)