Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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: "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 181.9 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5214/0.5214, allocations: 91.98 MB / 108.5 MB, free: 13.07 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.673/1.673, allocations: 223.2 MB / 354.3 MB, free: 12.18 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.001093/0.001093, allocations: 95.38 kB / 427.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003622, allocations: 11.98 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1691, allocations: 72.3 MB / 0.5689 GB, free: 1.844 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.909/5.078, allocations: 1.825 GB / 2.394 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/5.078, allocations: 92.84 kB / 2.394 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.95/12.03, allocations: 1.814 GB / 4.208 GB, free: 81.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/12.03, allocations: 0 / 4.208 GB, free: 81.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.657e-05/12.03, allocations: 27.98 kB / 4.208 GB, free: 81.39 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003098/12.03, allocations: 1.435 MB / 4.21 GB, free: 79.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/12.03, allocations: 8.031 kB / 4.21 GB, free: 79.89 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/12.03, allocations: 94.52 kB / 4.21 GB, free: 79.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008113/12.03, allocations: 187.1 kB / 4.21 GB, free: 79.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002397/12.03, allocations: 1.112 MB / 4.211 GB, free: 78.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/12.03, allocations: 41 kB / 4.211 GB, free: 78.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.962e-05/12.03, allocations: 64 kB / 4.211 GB, free: 78.33 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/12.04, allocations: 0.7692 MB / 4.212 GB, free: 77.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/12.04, allocations: 0 / 4.212 GB, free: 77.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.976e-05/12.04, allocations: 24 kB / 4.212 GB, free: 77.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/12.04, allocations: 12 kB / 4.212 GB, free: 77.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007979/12.04, allocations: 0.511 MB / 4.212 GB, free: 76.94 MB / 0.6042 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.003788/12.04, allocations: 4.595 MB / 4.217 GB, free: 71.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006148/12.04, allocations: 426.4 kB / 4.217 GB, free: 71.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002762/12.04, allocations: 198.2 kB / 4.217 GB, free: 71.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004206/12.04, allocations: 286.7 kB / 4.218 GB, free: 71.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 1.943e-06/12.04, allocations: 3.938 kB / 4.218 GB, free: 71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.003034/12.04, allocations: 1.22 MB / 4.219 GB, free: 69.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/12.04, allocations: 85.11 kB / 4.219 GB, free: 69.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/12.05, allocations: 0.9837 MB / 4.22 GB, free: 68.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/12.05, allocations: 33.7 kB / 4.22 GB, free: 68.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/12.05, allocations: 0.4887 MB / 4.22 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.718e-05/12.05, allocations: 110.5 kB / 4.221 GB, free: 68.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/12.05, allocations: 8 kB / 4.221 GB, free: 68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.765e-05/12.05, allocations: 326 kB / 4.221 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/12.05, allocations: 184.7 kB / 4.221 GB, free: 67.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/12.05, allocations: 0.5052 MB / 4.222 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/12.05, allocations: 289.6 kB / 4.222 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/12.05, allocations: 4 kB / 4.222 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001297/12.05, allocations: 0.8974 MB / 4.223 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004956/12.05, allocations: 2.139 MB / 4.225 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/12.05, allocations: 4 kB / 4.225 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004774/12.05, allocations: 236.6 kB / 4.225 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/12.05, allocations: 60.12 kB / 4.225 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007934/12.05, allocations: 1.006 MB / 4.226 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009192/12.05, allocations: 111.3 kB / 4.226 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-05/12.05, allocations: 27.98 kB / 4.226 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/12.05, allocations: 4 kB / 4.226 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001202/12.05, allocations: 0.7321 MB / 4.227 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/12.05, allocations: 4 kB / 4.227 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004609/12.05, allocations: 215.3 kB / 4.227 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/12.05, allocations: 59.84 kB / 4.227 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0031/12.06, allocations: 3.153 MB / 4.23 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/12.06, allocations: 91.59 kB / 4.23 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/12.06, allocations: 24 kB / 4.23 GB, free: 57.43 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006613/12.06, allocations: 476.7 kB / 4.231 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/12.06, allocations: 102.7 kB / 4.231 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/12.06, allocations: 0.7102 MB / 4.232 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/12.06, allocations: 7.938 kB / 4.232 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/12.06, allocations: 0 / 4.232 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/12.06, allocations: 4 kB / 4.232 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/12.06, allocations: 1.601 MB / 4.233 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/12.06, allocations: 7.953 kB / 4.233 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/12.06, allocations: 19.98 kB / 4.233 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004001/12.06, allocations: 224.6 kB / 4.233 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/12.06, allocations: 8.188 kB / 4.233 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000674/12.06, allocations: 0.9798 MB / 4.234 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/12.06, allocations: 0 / 4.234 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/12.06, allocations: 0.9166 MB / 4.235 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004214/12.07, allocations: 219.8 kB / 4.236 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/12.07, allocations: 8 kB / 4.236 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000578/12.07, allocations: 63.78 kB / 4.236 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/12.07, allocations: 23.97 kB / 4.236 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/12.07, allocations: 23.88 kB / 4.236 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009241/12.07, allocations: 0.7799 MB / 4.236 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/12.07, allocations: 3.938 kB / 4.236 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00186/12.07, allocations: 0.5114 MB / 4.237 GB, free: 50.52 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002794/12.07, allocations: 2.723 MB / 4.24 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001917/12.07, allocations: 1.049 MB / 4.241 GB, free: 46.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/12.07, allocations: 0 / 4.241 GB, free: 46.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004406/12.07, allocations: 234.1 kB / 4.241 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/12.08, allocations: 455.1 kB / 4.241 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/12.09, allocations: 9.801 MB / 4.251 GB, free: 35.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006733/12.09, allocations: 1.2 MB / 4.252 GB, free: 34.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001138/12.09, allocations: 331.8 kB / 4.252 GB, free: 34.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003907/12.09, allocations: 315.3 kB / 4.253 GB, free: 33.98 MB / 0.6042 GB Notification: Performance of SimCode: time 8.42e-07/12.09, allocations: 0 / 4.253 GB, free: 33.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4751/12.57, allocations: 42.49 MB / 4.294 GB, free: 148.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/12.57, allocations: 267.5 kB / 4.294 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.54/16.11, allocations: 0 / 4.294 GB, free: 148.5 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)