Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.672/1.672, allocations: 251.9 MB / 0.51 GB, free: 4.855 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005348/0.000535, allocations: 16 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4985/0.4991, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1621/0.6613, allocations: 135.8 MB / 0.8606 GB, free: 3.297 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.003048/0.6644, allocations: 1.715 MB / 0.8623 GB, free: 1.578 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002785/0.6647, allocations: 11.88 kB / 0.8623 GB, free: 1.566 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006194/0.6653, allocations: 179.2 kB / 0.8625 GB, free: 1.391 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.6666, allocations: 0.5024 MB / 0.863 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.6679, allocations: 453.5 kB / 0.8634 GB, free: 460 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001879/0.6698, allocations: 1.496 MB / 0.8648 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000987/0.6708, allocations: 0.7014 MB / 0.8655 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.672, allocations: 0.6929 MB / 0.8662 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006102/0.6727, allocations: 493.9 kB / 0.8667 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 8.523e-05/0.6728, allocations: 36 kB / 0.8667 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.6738, allocations: 411.4 kB / 0.8671 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.6741, allocations: 259.1 kB / 0.8674 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003271/0.6744, allocations: 229.1 kB / 0.8676 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.6755, allocations: 0.9626 MB / 0.8685 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6755, allocations: 0 / 0.8685 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.284e-06/0.6755, allocations: 0 / 0.8685 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.6755, allocations: 4 kB / 0.8685 GB, free: 11.17 MB / 0.6856 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.002259/0.6778, allocations: 1.299 MB / 0.8698 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.6779, allocations: 8.031 kB / 0.8698 GB, free: 9.801 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008029/0.6787, allocations: 190.5 kB / 0.87 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.6803, allocations: 0.7807 MB / 0.8707 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.6803, allocations: 56.95 kB / 0.8708 GB, free: 8.723 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.879e-05/0.6804, allocations: 56 kB / 0.8708 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.6816, allocations: 0.8003 MB / 0.8716 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.6817, allocations: 3.984 kB / 0.8716 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.666e-05/0.6817, allocations: 24 kB / 0.8717 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.6817, allocations: 12 kB / 0.8717 GB, free: 7.75 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009099/0.6827, allocations: 0.5423 MB / 0.8722 GB, free: 7.207 MB / 0.6856 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.004911/0.6876, allocations: 4.61 MB / 0.8767 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000755/0.6883, allocations: 434.3 kB / 0.8771 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-05/0.6884, allocations: 19.97 kB / 0.8771 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004999/0.6889, allocations: 293.7 kB / 0.8774 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=31): time 2.585e-06/0.689, allocations: 4 kB / 0.8774 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of matching and sorting (n=31): time 0.00142/0.6904, allocations: 0.639 MB / 0.878 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.404e-05/0.6905, allocations: 114.8 kB / 0.8781 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.6918, allocations: 1.106 MB / 0.8792 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/0.6919, allocations: 33.7 kB / 0.8793 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/0.6923, allocations: 496.1 kB / 0.8797 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 9.88e-05/0.6924, allocations: 114.5 kB / 0.8798 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.6924, allocations: 8 kB / 0.8798 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6925, allocations: 326 kB / 0.8802 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.6929, allocations: 184.7 kB / 0.8803 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005818/0.6935, allocations: 0.4979 MB / 0.8808 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004489/0.6939, allocations: 287.8 kB / 0.8811 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.694, allocations: 8 kB / 0.8811 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001104/0.6951, allocations: 0.6779 MB / 0.8818 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008474/0.6959, allocations: 2.125 MB / 0.8838 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.6959, allocations: 7.953 kB / 0.8838 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.696, allocations: 8 kB / 0.8839 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.6964, allocations: 116 kB / 0.884 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.6964, allocations: 15.94 kB / 0.884 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007775/0.6972, allocations: 111.3 kB / 0.8841 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-05/0.6973, allocations: 20 kB / 0.8841 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.6973, allocations: 9.859 kB / 0.8841 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008827/0.6982, allocations: 0.5399 MB / 0.8846 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.6982, allocations: 8.594 kB / 0.8847 GB, free: 9.641 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.6982, allocations: 12 kB / 0.8847 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.6986, allocations: 104.4 kB / 0.8848 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.6986, allocations: 11.94 kB / 0.8848 GB, free: 9.516 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006514/0.6993, allocations: 103.5 kB / 0.8849 GB, free: 9.414 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.6993, allocations: 20 kB / 0.8849 GB, free: 9.395 MB / 0.7012 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 (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.0005877/0.6999, allocations: 477.1 kB / 0.8853 GB, free: 8.918 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.7001, allocations: 102.8 kB / 0.8854 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008523/0.7009, allocations: 476.7 kB / 0.8859 GB, free: 8.344 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.7009, allocations: 7.984 kB / 0.8859 GB, free: 8.336 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.701, allocations: 8 kB / 0.8859 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.701, allocations: 3.984 kB / 0.8859 GB, free: 8.324 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.7025, allocations: 1.095 MB / 0.887 GB, free: 7.152 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.7025, allocations: 7.922 kB / 0.887 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.7027, allocations: 55.97 kB / 0.887 GB, free: 7.09 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.7028, allocations: 7.984 kB / 0.8871 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.7028, allocations: 15.95 kB / 0.8871 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.315e-05/0.7028, allocations: 7.938 kB / 0.8871 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.7028, allocations: 4 kB / 0.8871 GB, free: 7.055 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008571/0.7037, allocations: 0.6248 MB / 0.8877 GB, free: 6.352 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/0.704, allocations: 231.7 kB / 0.8879 GB, free: 6.105 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.7041, allocations: 8 kB / 0.8879 GB, free: 6.098 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004463/0.7046, allocations: 51.86 kB / 0.888 GB, free: 6.047 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.975e-05/0.7047, allocations: 31.95 kB / 0.888 GB, free: 6.016 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.7047, allocations: 8 kB / 0.888 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000936/0.7057, allocations: 0.7875 MB / 0.8888 GB, free: 5.211 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7057, allocations: 0 / 0.8888 GB, free: 5.211 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001093/0.7068, allocations: 411.4 kB / 0.8892 GB, free: 4.809 MB / 0.7012 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 (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.0004249/0.7072, allocations: 181.4 kB / 0.8893 GB, free: 4.629 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.7086, allocations: 0.8007 MB / 0.8901 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.7086, allocations: 1.375 kB / 0.8901 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003613/0.709, allocations: 212.1 kB / 0.8903 GB, free: 3.598 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.7108, allocations: 462.5 kB / 0.8908 GB, free: 3.152 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.7136, allocations: 1.951 MB / 0.8927 GB, free: 1.145 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007212/0.7143, allocations: 1.197 MB / 0.8938 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001107/0.7155, allocations: 423.5 kB / 0.8942 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.7156, allocations: 75.42 kB / 0.8943 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/0.7156, allocations: 0 / 0.8943 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of Templates: time 0.3583/1.074, allocations: 15.99 MB / 0.9099 GB, free: 179.7 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) Environment - environmentSimulation: