Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007592/0.007592, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.224/1.224, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.54/1.54, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.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.00046/0.0004601, allocations: 17.47 kB / 0.6744 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1736, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4758/0.6494, allocations: 157.3 MB / 0.9416 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002237/0.6517, allocations: 1.75 MB / 0.9433 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.6519, allocations: 8.625 kB / 0.9433 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003994/0.6523, allocations: 134 kB / 0.9434 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009234/0.6532, allocations: 0.4911 MB / 0.9439 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007243/0.6539, allocations: 348.9 kB / 0.9443 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002843/0.6568, allocations: 3.489 MB / 0.9477 GB, free: 312 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009557/0.6578, allocations: 0.7447 MB / 0.9484 GB, free: 172 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.6593, allocations: 0.8971 MB / 0.9493 GB, free: 56 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007483/0.6601, allocations: 0.7162 MB / 0.95 GB, free: 16 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.818e-05/0.6602, allocations: 32.44 kB / 0.95 GB, free: 16 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.6614, allocations: 0.8003 MB / 0.9508 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.6617, allocations: 285 kB / 0.9511 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005147/0.6622, allocations: 0.5288 MB / 0.9516 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.6635, allocations: 1.366 MB / 0.9529 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.6635, allocations: 1.859 kB / 0.9529 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.502e-06/0.6635, allocations: 4.906 kB / 0.9529 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.6635, allocations: 0 / 0.9529 GB, free: 15.8 MB / 0.7325 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.001756/0.6653, allocations: 1.261 MB / 0.9541 GB, free: 15 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.6653, allocations: 9.594 kB / 0.9542 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.762e-05/0.6654, allocations: 96.11 kB / 0.9542 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006936/0.6661, allocations: 182.3 kB / 0.9544 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.6671, allocations: 0.8053 MB / 0.9552 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/0.6672, allocations: 43.91 kB / 0.9552 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.43e-05/0.6673, allocations: 61.97 kB / 0.9553 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.6683, allocations: 0.7981 MB / 0.9561 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.6683, allocations: 1 kB / 0.9561 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-05/0.6684, allocations: 24.06 kB / 0.9561 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.6684, allocations: 14 kB / 0.9561 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008143/0.6692, allocations: 0.5461 MB / 0.9567 GB, free: 14.24 MB / 0.7325 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.003293/0.6725, allocations: 4.604 MB / 0.9612 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000628/0.6732, allocations: 427.2 kB / 0.9616 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003414/0.6735, allocations: 249 kB / 0.9618 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002493/0.6738, allocations: 197.1 kB / 0.962 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004231/0.6742, allocations: 303.1 kB / 0.9623 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/0.6742, allocations: 0 / 0.9623 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.001222/0.6754, allocations: 0.6516 MB / 0.9629 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.6755, allocations: 83.91 kB / 0.963 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.6766, allocations: 1.114 MB / 0.9641 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/0.6767, allocations: 45.08 kB / 0.9641 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.677, allocations: 491.5 kB / 0.9646 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.393e-05/0.6771, allocations: 107.7 kB / 0.9647 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.6772, allocations: 43.89 kB / 0.9647 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.6773, allocations: 327.7 kB / 0.965 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.6776, allocations: 210.2 kB / 0.9652 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005249/0.6781, allocations: 0.5252 MB / 0.9658 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007759/0.6789, allocations: 0.6373 MB / 0.9664 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.6789, allocations: 1.344 kB / 0.9664 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001052/0.68, allocations: 0.7326 MB / 0.9671 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.6801, allocations: 279.2 kB / 0.9674 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.6801, allocations: 5.625 kB / 0.9674 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.6802, allocations: 16.75 kB / 0.9674 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/0.6806, allocations: 116 kB / 0.9675 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.6806, allocations: 7.938 kB / 0.9675 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006864/0.6813, allocations: 108.6 kB / 0.9676 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.012e-05/0.6813, allocations: 28.67 kB / 0.9676 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.151e-06/0.6814, allocations: 3.875 kB / 0.9676 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007881/0.6821, allocations: 0.5359 MB / 0.9682 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.6822, allocations: 4.438 kB / 0.9682 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.584e-06/0.6822, allocations: 9.062 kB / 0.9682 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.6825, allocations: 105.2 kB / 0.9683 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.6825, allocations: 12.22 kB / 0.9683 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000576/0.6831, allocations: 89.47 kB / 0.9684 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.6832, allocations: 29.77 kB / 0.9684 GB, free: 7.906 MB / 0.7325 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003917/0.6836, allocations: 469.4 kB / 0.9688 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.6837, allocations: 97.47 kB / 0.9689 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007557/0.6844, allocations: 0.494 MB / 0.9694 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.6844, allocations: 3.344 kB / 0.9694 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6845, allocations: 3.375 kB / 0.9694 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6845, allocations: 0 / 0.9694 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.6861, allocations: 1.394 MB / 0.9708 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.6861, allocations: 6.016 kB / 0.9708 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.6863, allocations: 69.27 kB / 0.9709 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.6863, allocations: 6.75 kB / 0.9709 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.6864, allocations: 10.28 kB / 0.9709 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.6864, allocations: 7.922 kB / 0.9709 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6864, allocations: 3.031 kB / 0.9709 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006931/0.6871, allocations: 0.6138 MB / 0.9715 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.6873, allocations: 222.8 kB / 0.9717 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.622e-05/0.6874, allocations: 6.594 kB / 0.9717 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.6879, allocations: 48.45 kB / 0.9718 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.339e-05/0.6879, allocations: 31.48 kB / 0.9718 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.688, allocations: 9.625 kB / 0.9718 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007772/0.6887, allocations: 0.7905 MB / 0.9726 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6888, allocations: 0 / 0.9726 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009732/0.6897, allocations: 407.8 kB / 0.973 GB, free: 5.891 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001181/0.6909, allocations: 1.256 MB / 0.9742 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.692, allocations: 0.8228 MB / 0.975 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.692, allocations: 0 / 0.975 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.6924, allocations: 203.8 kB / 0.9752 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.6944, allocations: 448.5 kB / 0.9756 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.7055, allocations: 8.837 MB / 0.9842 GB, free: 12 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/0.7061, allocations: 1.184 MB / 0.9854 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000997/0.7072, allocations: 420.4 kB / 0.9858 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/0.7075, allocations: 321 kB / 0.9861 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of SimCode: time 5.31e-07/0.7075, allocations: 3.938 kB / 0.9861 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.758/5.465, allocations: 24.95 MB / 1.01 GB, free: 0.6484 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/5.466, allocations: 263.8 kB / 1.011 GB, free: 320 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/8.214, allocations: 0 / 1.011 GB, free: 320 kB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)