Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5033/0.5033, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 221.3 MB / 348.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009267/0.0009264, allocations: 105.6 kB / 421.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.586e-05/4.589e-05, allocations: 3.984 kB / 0.4896 GB, free: 5.383 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4718/0.4719, allocations: 72.3 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.508/4.98, allocations: 1.825 GB / 2.386 GB, free: 147.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/4.98, allocations: 89.23 kB / 2.386 GB, free: 147.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.749/12.73, allocations: 2.007 GB / 4.392 GB, free: 141.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/12.73, allocations: 3.844 kB / 4.392 GB, free: 141.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002075/12.73, allocations: 32.3 kB / 4.392 GB, free: 141.5 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004875/12.73, allocations: 1.258 MB / 4.393 GB, free: 141 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/12.73, allocations: 14.98 kB / 4.393 GB, free: 141 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/12.74, allocations: 201.6 kB / 4.394 GB, free: 141 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004517/12.74, allocations: 1.458 MB / 4.395 GB, free: 140.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.642e-05/12.74, allocations: 49.78 kB / 4.395 GB, free: 140.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/12.74, allocations: 61.53 kB / 4.395 GB, free: 140.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/12.74, allocations: 0.9236 MB / 4.396 GB, free: 140.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/12.74, allocations: 11.45 kB / 4.396 GB, free: 140.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.344e-05/12.74, allocations: 27.36 kB / 4.396 GB, free: 140.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/12.74, allocations: 11.91 kB / 4.396 GB, free: 140.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008763/12.74, allocations: 0.6988 MB / 4.397 GB, free: 140.4 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.004212/12.75, allocations: 4.708 MB / 4.401 GB, free: 137.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/12.75, allocations: 3.955 MB / 4.405 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/12.75, allocations: 326.6 kB / 4.406 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/12.75, allocations: 195.4 kB / 4.406 GB, free: 132.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004452/12.75, allocations: 307.3 kB / 4.406 GB, free: 132.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004584/12.75, allocations: 30.38 kB / 4.406 GB, free: 132.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 2.385e-06/12.75, allocations: 0 / 4.406 GB, free: 132.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.001406/12.75, allocations: 0.7606 MB / 4.407 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/12.75, allocations: 81.64 kB / 4.407 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/12.75, allocations: 1.039 MB / 4.408 GB, free: 132.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/12.75, allocations: 39.33 kB / 4.408 GB, free: 132.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/12.75, allocations: 0.5193 MB / 4.408 GB, free: 132.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.699e-05/12.75, allocations: 129.9 kB / 4.409 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/12.75, allocations: 10.34 kB / 4.409 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.732e-05/12.75, allocations: 327.5 kB / 4.409 GB, free: 131.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/12.75, allocations: 188.6 kB / 4.409 GB, free: 131.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004511/12.75, allocations: 0.5305 MB / 4.41 GB, free: 131.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/12.75, allocations: 307.9 kB / 4.41 GB, free: 131.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/12.75, allocations: 6.25 kB / 4.41 GB, free: 131.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001276/12.76, allocations: 0.9521 MB / 4.411 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005251/12.76, allocations: 2.225 MB / 4.413 GB, free: 129 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/12.76, allocations: 10.66 kB / 4.413 GB, free: 129 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005861/12.76, allocations: 265.5 kB / 4.413 GB, free: 129 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/12.76, allocations: 77.25 kB / 4.413 GB, free: 129 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009002/12.76, allocations: 1.046 MB / 4.414 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/12.76, allocations: 103.6 kB / 4.414 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/12.76, allocations: 26.2 kB / 4.414 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/12.76, allocations: 6.938 kB / 4.414 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001121/12.76, allocations: 0.7696 MB / 4.415 GB, free: 128.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/12.76, allocations: 7.562 kB / 4.415 GB, free: 128.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005352/12.76, allocations: 255.5 kB / 4.415 GB, free: 128.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/12.76, allocations: 80.62 kB / 4.416 GB, free: 128.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003135/12.76, allocations: 3.062 MB / 4.419 GB, free: 127 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/12.77, allocations: 107.8 kB / 4.419 GB, free: 127 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/12.77, allocations: 22.16 kB / 4.419 GB, free: 127 MB / 0.6042 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002071/12.77, allocations: 145.5 kB / 4.419 GB, free: 126.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/12.77, allocations: 106.2 kB / 4.419 GB, free: 126.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/12.77, allocations: 0.7835 MB / 4.42 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/12.77, allocations: 2.75 kB / 4.42 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/12.77, allocations: 3.469 kB / 4.42 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/12.77, allocations: 7.469 kB / 4.42 GB, free: 126.8 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 postOpt removeSimpleEquations (simulation): time 0.002674/12.77, allocations: 2.154 MB / 4.422 GB, free: 126 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/12.77, allocations: 6.859 kB / 4.422 GB, free: 126 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/12.77, allocations: 46.38 kB / 4.422 GB, free: 126 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004254/12.77, allocations: 206.8 kB / 4.422 GB, free: 126 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/12.77, allocations: 10.03 kB / 4.422 GB, free: 126 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005906/12.77, allocations: 0.8836 MB / 4.423 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/12.77, allocations: 2.156 kB / 4.423 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/12.77, allocations: 0.9454 MB / 4.424 GB, free: 125 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004301/12.77, allocations: 234.6 kB / 4.424 GB, free: 124.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/12.77, allocations: 13.75 kB / 4.424 GB, free: 124.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006739/12.77, allocations: 80.86 kB / 4.424 GB, free: 124.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.443e-05/12.77, allocations: 35.88 kB / 4.424 GB, free: 124.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/12.77, allocations: 12.38 kB / 4.424 GB, free: 124.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009478/12.77, allocations: 0.8233 MB / 4.425 GB, free: 124.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/12.77, allocations: 0 / 4.425 GB, free: 124.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001905/12.78, allocations: 0.6136 MB / 4.426 GB, free: 124.7 MB / 0.6042 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001599/12.78, allocations: 1.129 MB / 4.427 GB, free: 124.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001665/12.78, allocations: 1.129 MB / 4.428 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/12.78, allocations: 3.938 kB / 4.428 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003516/12.78, allocations: 237.8 kB / 4.428 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/12.78, allocations: 0.6621 MB / 4.429 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/12.79, allocations: 1.453 MB / 4.43 GB, free: 123.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005998/12.79, allocations: 1.238 MB / 4.431 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001931/12.79, allocations: 0.8008 MB / 4.432 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.223e-05/12.79, allocations: 50.72 kB / 4.432 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of SimCode: time 9.22e-07/12.79, allocations: 0 / 4.432 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.05413/12.84, allocations: 39.4 MB / 4.471 GB, free: 110.1 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)