Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8444/0.8444, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 187.4 kB / 187.3 MB, free: 11.89 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.531/1.531, allocations: 221.3 MB / 441.4 MB, free: 4.613 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.0009702/0.0009701, allocations: 93.95 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001851/0.001851, allocations: 268.5 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.095e-05/4.098e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5441/0.5442, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.272/5.816, allocations: 1.83 GB / 2.594 GB, free: 219.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/5.817, allocations: 95.91 kB / 2.594 GB, free: 219.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.338/12.15, allocations: 1.801 GB / 4.394 GB, free: 2.945 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/12.16, allocations: 0 / 4.394 GB, free: 2.945 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001058/12.16, allocations: 27.98 kB / 4.394 GB, free: 2.918 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001823/12.16, allocations: 1.129 MB / 4.396 GB, free: 1.734 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/12.16, allocations: 8.031 kB / 4.396 GB, free: 1.727 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000784/12.16, allocations: 186.5 kB / 4.396 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/12.16, allocations: 1.084 MB / 4.397 GB, free: 412 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/12.16, allocations: 49 kB / 4.397 GB, free: 364 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.389e-05/12.16, allocations: 67.94 kB / 4.397 GB, free: 296 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4394/12.6, allocations: 0.7263 MB / 4.398 GB, free: 193 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/12.6, allocations: 2.469 kB / 4.398 GB, free: 193 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/12.6, allocations: 24.78 kB / 4.398 GB, free: 193 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/12.6, allocations: 13.97 kB / 4.398 GB, free: 193 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008317/12.6, allocations: 477.3 kB / 4.398 GB, free: 193 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.004298/12.6, allocations: 4.592 MB / 4.403 GB, free: 189.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/12.61, allocations: 390.8 kB / 4.403 GB, free: 189.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/12.61, allocations: 223.4 kB / 4.403 GB, free: 189.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/12.61, allocations: 193.1 kB / 4.403 GB, free: 189.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004462/12.61, allocations: 277.8 kB / 4.404 GB, free: 189.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/12.61, allocations: 0 / 4.404 GB, free: 189.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001024/12.61, allocations: 455.4 kB / 4.404 GB, free: 189.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/12.61, allocations: 90.83 kB / 4.404 GB, free: 189.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/12.61, allocations: 0.9737 MB / 4.405 GB, free: 189.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/12.61, allocations: 34.44 kB / 4.405 GB, free: 189.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003813/12.61, allocations: 493.7 kB / 4.406 GB, free: 188.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.927e-05/12.61, allocations: 111.3 kB / 4.406 GB, free: 188.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/12.61, allocations: 5.625 kB / 4.406 GB, free: 188.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.241e-05/12.61, allocations: 327.7 kB / 4.406 GB, free: 188.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/12.61, allocations: 163.4 kB / 4.406 GB, free: 188.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/12.61, allocations: 0.4892 MB / 4.407 GB, free: 188.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/12.61, allocations: 274.1 kB / 4.407 GB, free: 188.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/12.61, allocations: 5.062 kB / 4.407 GB, free: 188.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000963/12.61, allocations: 0.6365 MB / 4.408 GB, free: 188 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000414/12.61, allocations: 2.143 MB / 4.41 GB, free: 185.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/12.61, allocations: 4.812 kB / 4.41 GB, free: 185.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/12.61, allocations: 8.281 kB / 4.41 GB, free: 185.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/12.61, allocations: 115.9 kB / 4.41 GB, free: 185.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/12.61, allocations: 8.516 kB / 4.41 GB, free: 185.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009339/12.61, allocations: 103.4 kB / 4.41 GB, free: 185.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/12.61, allocations: 26.91 kB / 4.41 GB, free: 185.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.335e-06/12.61, allocations: 7.344 kB / 4.41 GB, free: 185.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007064/12.61, allocations: 0.4958 MB / 4.41 GB, free: 185.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/12.61, allocations: 6.062 kB / 4.41 GB, free: 185.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/12.61, allocations: 9.688 kB / 4.41 GB, free: 185.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/12.61, allocations: 109.2 kB / 4.411 GB, free: 185.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/12.62, allocations: 9.562 kB / 4.411 GB, free: 185.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006768/12.62, allocations: 98.92 kB / 4.411 GB, free: 185.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/12.62, allocations: 22.16 kB / 4.411 GB, free: 185.8 MB / 0.698 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): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001317/12.62, allocations: 145.7 kB / 4.411 GB, free: 185.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/12.62, allocations: 98.25 kB / 4.411 GB, free: 185.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006866/12.62, allocations: 470.4 kB / 4.411 GB, free: 185.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/12.62, allocations: 3.938 kB / 4.411 GB, free: 185.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/12.62, allocations: 0 / 4.411 GB, free: 185.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/12.62, allocations: 3.953 kB / 4.411 GB, free: 185.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/12.62, allocations: 1.352 MB / 4.413 GB, free: 185.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/12.62, allocations: 3.656 kB / 4.413 GB, free: 185.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/12.62, allocations: 68.44 kB / 4.413 GB, free: 185.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/12.62, allocations: 3.812 kB / 4.413 GB, free: 185.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/12.62, allocations: 15.72 kB / 4.413 GB, free: 185.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/12.62, allocations: 3.938 kB / 4.413 GB, free: 185.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/12.62, allocations: 6.906 kB / 4.413 GB, free: 185.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005307/12.62, allocations: 0.6529 MB / 4.413 GB, free: 184.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002958/12.62, allocations: 218.2 kB / 4.414 GB, free: 184.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.507e-05/12.62, allocations: 11.09 kB / 4.414 GB, free: 184.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004625/12.62, allocations: 55.16 kB / 4.414 GB, free: 184.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/12.62, allocations: 30.48 kB / 4.414 GB, free: 184.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/12.62, allocations: 11.17 kB / 4.414 GB, free: 184.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000794/12.62, allocations: 0.7703 MB / 4.414 GB, free: 184.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/12.62, allocations: 3.656 kB / 4.414 GB, free: 184.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001332/12.62, allocations: 479.9 kB / 4.415 GB, free: 184.5 MB / 0.698 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): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001169/12.62, allocations: 0.9092 MB / 4.416 GB, free: 184.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001015/12.62, allocations: 0.7697 MB / 4.417 GB, free: 184.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/12.62, allocations: 7.188 kB / 4.417 GB, free: 184.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002303/12.62, allocations: 186.4 kB / 4.417 GB, free: 184.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/12.63, allocations: 454.5 kB / 4.417 GB, free: 184.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/12.63, allocations: 1.356 MB / 4.419 GB, free: 183.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/12.63, allocations: 1.205 MB / 4.42 GB, free: 183 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001816/12.63, allocations: 0.8383 MB / 4.421 GB, free: 183 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/12.63, allocations: 53.69 kB / 4.421 GB, free: 183 MB / 0.698 GB Notification: Performance of SimCode: time 9.21e-07/12.63, allocations: 2.156 kB / 4.421 GB, free: 183 MB / 0.698 GB Notification: Performance of Templates: time 0.04178/12.67, allocations: 31.13 MB / 4.451 GB, free: 182.3 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)