Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 179 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5094/0.5094, allocations: 90.92 MB / 99.35 MB, free: 2.195 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 221.5 MB / 343.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009/0.0009, allocations: 90.98 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.492e-05/1.494e-05, allocations: 4 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1455, allocations: 72.32 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.629/4.775, allocations: 1.822 GB / 2.375 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/4.775, allocations: 89.45 kB / 2.376 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.563/8.338, allocations: 0.9583 GB / 3.334 GB, free: 92.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/8.338, allocations: 4 kB / 3.334 GB, free: 92.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001642/8.338, allocations: 27.59 kB / 3.334 GB, free: 92.75 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00312/8.341, allocations: 1.136 MB / 3.335 GB, free: 91.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/8.341, allocations: 8.031 kB / 3.335 GB, free: 91.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/8.343, allocations: 186.3 kB / 3.335 GB, free: 91.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003482/8.346, allocations: 1.082 MB / 3.336 GB, free: 90.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/8.347, allocations: 16 kB / 3.336 GB, free: 90.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/8.347, allocations: 36 kB / 3.336 GB, free: 90.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001114/8.348, allocations: 470.3 kB / 3.337 GB, free: 89.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/8.349, allocations: 0.6767 MB / 3.337 GB, free: 89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/8.349, allocations: 7.875 kB / 3.337 GB, free: 89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.605e-05/8.349, allocations: 4 kB / 3.337 GB, free: 88.99 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/8.349, allocations: 12 kB / 3.337 GB, free: 88.98 MB / 0.6042 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.00497/8.354, allocations: 4.467 MB / 3.342 GB, free: 84.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006972/8.355, allocations: 445.7 kB / 3.342 GB, free: 83.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/8.355, allocations: 234.5 kB / 3.342 GB, free: 83.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003327/8.356, allocations: 201.8 kB / 3.343 GB, free: 83.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004363/8.356, allocations: 263.7 kB / 3.343 GB, free: 82.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 3.487e-06/8.356, allocations: 0 / 3.343 GB, free: 82.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.001364/8.357, allocations: 493.6 kB / 3.343 GB, free: 82.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/8.358, allocations: 85.09 kB / 3.343 GB, free: 82.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/8.359, allocations: 0.8517 MB / 3.344 GB, free: 81.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.073e-05/8.359, allocations: 29.7 kB / 3.344 GB, free: 81.49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004567/8.36, allocations: 492.1 kB / 3.345 GB, free: 81.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/8.36, allocations: 106.5 kB / 3.345 GB, free: 80.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/8.36, allocations: 0 / 3.345 GB, free: 80.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/8.36, allocations: 326 kB / 3.345 GB, free: 80.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/8.36, allocations: 180.8 kB / 3.345 GB, free: 80.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004962/8.361, allocations: 0.4957 MB / 3.346 GB, free: 79.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/8.361, allocations: 269.8 kB / 3.346 GB, free: 79.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/8.361, allocations: 4 kB / 3.346 GB, free: 79.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00119/8.363, allocations: 0.6055 MB / 3.347 GB, free: 78.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005828/8.363, allocations: 2.13 MB / 3.349 GB, free: 76.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/8.363, allocations: 8 kB / 3.349 GB, free: 76.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.268e-05/8.363, allocations: 8 kB / 3.349 GB, free: 76.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/8.365, allocations: 299.5 kB / 3.349 GB, free: 76.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003055/8.368, allocations: 6.188 MB / 3.355 GB, free: 69.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/8.37, allocations: 83.8 kB / 3.355 GB, free: 69.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.536e-05/8.37, allocations: 28 kB / 3.355 GB, free: 69.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/8.37, allocations: 5.406 kB / 3.355 GB, free: 69.75 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007815/8.371, allocations: 415.8 kB / 3.356 GB, free: 69.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/8.371, allocations: 8 kB / 3.356 GB, free: 69.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/8.371, allocations: 11.98 kB / 3.356 GB, free: 69.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006457/8.371, allocations: 143.8 kB / 3.356 GB, free: 69.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/8.371, allocations: 11.98 kB / 3.356 GB, free: 69.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/8.373, allocations: 83.69 kB / 3.356 GB, free: 69.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/8.373, allocations: 24 kB / 3.356 GB, free: 69.06 MB / 0.6042 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001937/8.373, allocations: 124.8 kB / 3.356 GB, free: 68.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/8.373, allocations: 94.86 kB / 3.356 GB, free: 68.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009129/8.374, allocations: 446.6 kB / 3.356 GB, free: 68.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/8.374, allocations: 7.938 kB / 3.356 GB, free: 68.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/8.374, allocations: 4 kB / 3.356 GB, free: 68.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/8.374, allocations: 7.984 kB / 3.356 GB, free: 68.37 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/8.376, allocations: 1.259 MB / 3.358 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/8.376, allocations: 4 kB / 3.358 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008025/8.377, allocations: 155.6 kB / 3.358 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/8.377, allocations: 4 kB / 3.358 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/8.377, allocations: 4 kB / 3.358 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/8.379, allocations: 6.032 MB / 3.364 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/8.379, allocations: 7.984 kB / 3.364 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007842/8.38, allocations: 0.6242 MB / 3.364 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004055/8.381, allocations: 211.8 kB / 3.365 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/8.381, allocations: 15.94 kB / 3.365 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006858/8.382, allocations: 51.8 kB / 3.365 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/8.382, allocations: 31.95 kB / 3.365 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/8.382, allocations: 8 kB / 3.365 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009567/8.383, allocations: 0.665 MB / 3.365 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/8.383, allocations: 3.938 kB / 3.365 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001932/8.385, allocations: 447.5 kB / 3.366 GB, free: 58.47 MB / 0.6042 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001813/8.386, allocations: 1.031 MB / 3.367 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002973/8.389, allocations: 0.9418 MB / 3.368 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/8.389, allocations: 0 / 3.368 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007608/8.39, allocations: 253.5 kB / 3.368 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/8.393, allocations: 398.4 kB / 3.368 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/8.395, allocations: 1.332 MB / 3.37 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000749/8.396, allocations: 1.202 MB / 3.371 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00265/8.399, allocations: 0.7446 MB / 3.371 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/8.399, allocations: 43.44 kB / 3.372 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of SimCode: time 1.403e-06/8.399, allocations: 0 / 3.372 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of Templates: time 0.03834/8.437, allocations: 20.64 MB / 3.392 GB, free: 32.02 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)