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.001109/0.001109, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5345/0.5345, allocations: 90.91 MB / 99.34 MB, free: 2.203 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.595/1.595, allocations: 221.5 MB / 343.2 MB, free: 1.566 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.0008451/0.0008453, allocations: 95.33 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.837e-05/1.841e-05, allocations: 7.688 kB / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1609, allocations: 72.32 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.682/4.843, allocations: 1.825 GB / 2.378 GB, free: 79.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/4.843, allocations: 94.62 kB / 2.378 GB, free: 79.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.868/12.71, allocations: 1.986 GB / 4.364 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/12.71, allocations: 0 / 4.364 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002107/12.71, allocations: 35.84 kB / 4.364 GB, free: 144.3 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.005249/12.72, allocations: 1.274 MB / 4.366 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/12.72, allocations: 7.125 kB / 4.366 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001893/12.72, allocations: 195.1 kB / 4.366 GB, free: 143.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005807/12.72, allocations: 1.453 MB / 4.367 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/12.72, allocations: 15.34 kB / 4.367 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/12.72, allocations: 41.88 kB / 4.367 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001258/12.73, allocations: 0.6964 MB / 4.368 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/12.73, allocations: 0.8533 MB / 4.369 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/12.73, allocations: 6.781 kB / 4.369 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.576e-05/12.73, allocations: 0 / 4.369 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/12.73, allocations: 17.56 kB / 4.369 GB, free: 143.2 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.004917/12.73, allocations: 4.572 MB / 4.373 GB, free: 140.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/12.73, allocations: 4.025 MB / 4.377 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003889/12.73, allocations: 342 kB / 4.378 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002954/12.73, allocations: 196.2 kB / 4.378 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004028/12.74, allocations: 294.3 kB / 4.378 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005424/12.74, allocations: 16.3 kB / 4.378 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 4.338e-06/12.74, allocations: 7.328 kB / 4.378 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.001892/12.74, allocations: 0.838 MB / 4.379 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/12.74, allocations: 81.02 kB / 4.379 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/12.74, allocations: 0.8993 MB / 4.38 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.6e-05/12.74, allocations: 29.42 kB / 4.38 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00038/12.74, allocations: 0.5303 MB / 4.38 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/12.74, allocations: 122.6 kB / 4.38 GB, free: 135 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/12.74, allocations: 0 / 4.38 GB, free: 135 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.551e-05/12.74, allocations: 333.1 kB / 4.381 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/12.74, allocations: 204.5 kB / 4.381 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/12.74, allocations: 0.5376 MB / 4.381 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/12.74, allocations: 296.5 kB / 4.382 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/12.74, allocations: 0 / 4.382 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001673/12.74, allocations: 0.9772 MB / 4.383 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005193/12.74, allocations: 2.221 MB / 4.385 GB, free: 131.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/12.74, allocations: 3.938 kB / 4.385 GB, free: 131.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004944/12.74, allocations: 252.6 kB / 4.385 GB, free: 131.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/12.74, allocations: 82.34 kB / 4.385 GB, free: 131.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/12.74, allocations: 1.156 MB / 4.386 GB, free: 131.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/12.75, allocations: 96.08 kB / 4.386 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-05/12.75, allocations: 24.44 kB / 4.386 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/12.75, allocations: 5.031 kB / 4.386 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001086/12.75, allocations: 0.6791 MB / 4.387 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/12.75, allocations: 7.156 kB / 4.387 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005644/12.75, allocations: 236 kB / 4.387 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/12.75, allocations: 84.56 kB / 4.387 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003433/12.75, allocations: 2.951 MB / 4.39 GB, free: 130 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/12.75, allocations: 90.59 kB / 4.39 GB, free: 130 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-05/12.75, allocations: 28.38 kB / 4.39 GB, free: 130 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.0002507/12.75, allocations: 124.9 kB / 4.391 GB, free: 129.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/12.75, allocations: 108.5 kB / 4.391 GB, free: 129.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/12.75, allocations: 0.746 MB / 4.391 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/12.75, allocations: 3.875 kB / 4.391 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/12.75, allocations: 0 / 4.391 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/12.75, allocations: 3.422 kB / 4.391 GB, free: 129.7 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.003414/12.76, allocations: 2.038 MB / 4.393 GB, free: 129 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/12.76, allocations: 3.75 kB / 4.393 GB, free: 129 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/12.76, allocations: 48.55 kB / 4.393 GB, free: 129 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000307/12.76, allocations: 165.1 kB / 4.394 GB, free: 129 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/12.76, allocations: 3.812 kB / 4.394 GB, free: 129 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006485/12.76, allocations: 0.8943 MB / 4.394 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/12.76, allocations: 9.828 kB / 4.394 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/12.76, allocations: 0.9239 MB / 4.395 GB, free: 128 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004553/12.76, allocations: 226.5 kB / 4.396 GB, free: 127.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/12.76, allocations: 6.406 kB / 4.396 GB, free: 127.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007911/12.76, allocations: 73.14 kB / 4.396 GB, free: 127.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/12.76, allocations: 39.11 kB / 4.396 GB, free: 127.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/12.76, allocations: 16.45 kB / 4.396 GB, free: 127.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009482/12.76, allocations: 0.7006 MB / 4.396 GB, free: 127.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.61e-07/12.76, allocations: 0 / 4.396 GB, free: 127.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002152/12.77, allocations: 0.5706 MB / 4.397 GB, free: 127.8 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.002013/12.77, allocations: 1.28 MB / 4.398 GB, free: 127.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001843/12.77, allocations: 1.085 MB / 4.399 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/12.77, allocations: 0 / 4.399 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003807/12.77, allocations: 239.7 kB / 4.4 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/12.77, allocations: 0.5894 MB / 4.4 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/12.78, allocations: 1.424 MB / 4.401 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006852/12.78, allocations: 1.235 MB / 4.403 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002023/12.78, allocations: 0.7328 MB / 4.403 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/12.78, allocations: 49.69 kB / 4.403 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/12.78, allocations: 0 / 4.403 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.04315/12.82, allocations: 25.95 MB / 4.429 GB, free: 124.5 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)