Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.039/1.039, allocations: 141.8 MB / 149.3 MB, free: 9.199 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001122, allocations: 176.9 kB / 182.2 MB, free: 9.449 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 96.09 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001794/0.001795, allocations: 280.1 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.142e-05/2.144e-05, allocations: 4 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5251/0.5251, allocations: 82.77 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.174/5.699, allocations: 1.829 GB / 2.586 GB, free: 231.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/5.699, allocations: 96.56 kB / 2.586 GB, free: 231.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.241/9.94, allocations: 1.069 GB / 3.655 GB, free: 178.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.146e-06/9.94, allocations: 0 / 3.655 GB, free: 178.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002165/9.94, allocations: 37.86 kB / 3.655 GB, free: 178.3 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.005343/9.946, allocations: 1.272 MB / 3.656 GB, free: 177.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/9.946, allocations: 10.97 kB / 3.656 GB, free: 177.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/9.947, allocations: 201.7 kB / 3.656 GB, free: 177.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004493/9.952, allocations: 1.427 MB / 3.658 GB, free: 177.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.282e-05/9.952, allocations: 20.83 kB / 3.658 GB, free: 177.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002119/9.952, allocations: 39.16 kB / 3.658 GB, free: 177.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001294/9.953, allocations: 0.7029 MB / 3.659 GB, free: 177.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/9.955, allocations: 0.8481 MB / 3.659 GB, free: 177.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/9.955, allocations: 10.09 kB / 3.659 GB, free: 177.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.347e-05/9.955, allocations: 0 / 3.659 GB, free: 177.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/9.955, allocations: 15.66 kB / 3.659 GB, free: 177.2 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.005337/9.96, allocations: 4.588 MB / 3.664 GB, free: 174.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/9.962, allocations: 4.083 MB / 3.668 GB, free: 169.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003764/9.962, allocations: 336.3 kB / 3.668 GB, free: 169.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003076/9.963, allocations: 201.7 kB / 3.668 GB, free: 169.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003939/9.963, allocations: 298.2 kB / 3.669 GB, free: 169.6 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005738/9.964, allocations: 20.86 kB / 3.669 GB, free: 169.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 4.839e-06/9.964, allocations: 0 / 3.669 GB, free: 169.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.002064/9.966, allocations: 0.8133 MB / 3.669 GB, free: 169.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/9.966, allocations: 87.41 kB / 3.67 GB, free: 169.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/9.967, allocations: 0.9002 MB / 3.67 GB, free: 169.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.921e-05/9.967, allocations: 28.17 kB / 3.67 GB, free: 169.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004773/9.968, allocations: 0.5244 MB / 3.671 GB, free: 169 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/9.968, allocations: 126.7 kB / 3.671 GB, free: 169 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/9.968, allocations: 0 / 3.671 GB, free: 169 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.373e-05/9.968, allocations: 330.8 kB / 3.671 GB, free: 168.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/9.968, allocations: 200.9 kB / 3.672 GB, free: 168.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004912/9.969, allocations: 0.5372 MB / 3.672 GB, free: 168.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003822/9.969, allocations: 291.4 kB / 3.672 GB, free: 168.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/9.969, allocations: 6.469 kB / 3.672 GB, free: 168.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001743/9.971, allocations: 0.9561 MB / 3.673 GB, free: 168.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006766/9.972, allocations: 2.222 MB / 3.675 GB, free: 165.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/9.972, allocations: 7.75 kB / 3.676 GB, free: 165.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004852/9.972, allocations: 252.5 kB / 3.676 GB, free: 165.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/9.973, allocations: 99.7 kB / 3.676 GB, free: 165.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/9.974, allocations: 1.76 MB / 3.678 GB, free: 164.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/9.976, allocations: 90.58 kB / 3.678 GB, free: 164.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-05/9.976, allocations: 28.98 kB / 3.678 GB, free: 164.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/9.976, allocations: 3.688 kB / 3.678 GB, free: 164.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001185/9.977, allocations: 0.659 MB / 3.678 GB, free: 164.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/9.977, allocations: 7.812 kB / 3.678 GB, free: 164.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004602/9.977, allocations: 198.2 kB / 3.679 GB, free: 164.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/9.978, allocations: 84.22 kB / 3.679 GB, free: 164.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003326/9.981, allocations: 2.796 MB / 3.681 GB, free: 163.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/9.982, allocations: 94.14 kB / 3.681 GB, free: 163.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.397e-05/9.982, allocations: 26 kB / 3.681 GB, free: 163.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002366/9.983, allocations: 123.7 kB / 3.682 GB, free: 163.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/9.983, allocations: 105 kB / 3.682 GB, free: 163.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/9.984, allocations: 0.7179 MB / 3.682 GB, free: 163.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/9.984, allocations: 5.891 kB / 3.682 GB, free: 163.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/9.984, allocations: 3.75 kB / 3.682 GB, free: 163.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/9.984, allocations: 6.344 kB / 3.682 GB, free: 163.1 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.003005/9.987, allocations: 2.014 MB / 3.684 GB, free: 162.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/9.987, allocations: 3.938 kB / 3.684 GB, free: 162.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/9.988, allocations: 58.42 kB / 3.684 GB, free: 162.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002671/9.988, allocations: 159.3 kB / 3.685 GB, free: 162.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/9.988, allocations: 3.75 kB / 3.685 GB, free: 162.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009051/9.989, allocations: 1.487 MB / 3.686 GB, free: 161.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/9.989, allocations: 0 / 3.686 GB, free: 161.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/9.99, allocations: 0.9082 MB / 3.687 GB, free: 160.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005116/9.991, allocations: 223 kB / 3.687 GB, free: 160.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/9.991, allocations: 7.688 kB / 3.687 GB, free: 160.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008597/9.992, allocations: 78.3 kB / 3.687 GB, free: 160.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.952e-05/9.992, allocations: 32.97 kB / 3.687 GB, free: 160.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/9.992, allocations: 13.41 kB / 3.687 GB, free: 160.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009617/9.993, allocations: 0.7034 MB / 3.688 GB, free: 160.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.71e-07/9.993, allocations: 3.375 kB / 3.688 GB, free: 160.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00216/9.995, allocations: 0.5618 MB / 3.688 GB, free: 160.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * 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): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002061/9.997, allocations: 1.219 MB / 3.69 GB, free: 160.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002601/10, allocations: 1.198 MB / 3.691 GB, free: 159.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/10, allocations: 0 / 3.691 GB, free: 159.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005563/10, allocations: 287 kB / 3.691 GB, free: 159.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003236/10, allocations: 0.5801 MB / 3.692 GB, free: 159.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/10.01, allocations: 1.42 MB / 3.693 GB, free: 159.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007843/10.01, allocations: 1.241 MB / 3.694 GB, free: 158.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002166/10.01, allocations: 0.7155 MB / 3.695 GB, free: 158.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/10.01, allocations: 48.41 kB / 3.695 GB, free: 158.8 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/10.01, allocations: 3.938 kB / 3.695 GB, free: 158.8 MB / 0.698 GB Notification: Performance of Templates: time 0.04178/10.05, allocations: 25.2 MB / 3.72 GB, free: 157.2 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)