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: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.00116/0.00116, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 189.5 kB / 16.62 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.403/1.403, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.771/1.771, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001447/0.001447, allocations: 70.28 kB / 0.6723 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2237, allocations: 114.6 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.5939/0.8177, allocations: 161.6 MB / 0.9419 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002784/0.8205, allocations: 1.748 MB / 0.9436 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002788/0.8208, allocations: 13.25 kB / 0.9437 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005408/0.8214, allocations: 159.7 kB / 0.9438 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.8226, allocations: 0.5303 MB / 0.9443 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.8236, allocations: 395.3 kB / 0.9447 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002622/0.8263, allocations: 2.522 MB / 0.9472 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.8278, allocations: 0.9287 MB / 0.9481 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/0.83, allocations: 1.026 MB / 0.9491 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009456/0.831, allocations: 0.7109 MB / 0.9498 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.8311, allocations: 54.59 kB / 0.9498 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.8325, allocations: 0.7371 MB / 0.9505 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003163/0.8329, allocations: 312.9 kB / 0.9508 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006754/0.8335, allocations: 0.5433 MB / 0.9514 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.8355, allocations: 1.401 MB / 0.9527 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.8355, allocations: 5.312 kB / 0.9527 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8355, allocations: 0 / 0.9527 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.013e-05/0.8355, allocations: 0 / 0.9527 GB, free: 0.9297 MB / 0.7169 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.002465/0.838, allocations: 1.441 MB / 0.9542 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.838, allocations: 9.5 kB / 0.9542 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007586/0.8388, allocations: 185.7 kB / 0.9543 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.8401, allocations: 0.8557 MB / 0.9552 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/0.8401, allocations: 42.88 kB / 0.9552 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.758e-05/0.8402, allocations: 59.41 kB / 0.9553 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.8414, allocations: 0.7947 MB / 0.9561 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.8414, allocations: 5.031 kB / 0.9561 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.13e-05/0.8415, allocations: 24.53 kB / 0.9561 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.8415, allocations: 17.28 kB / 0.9561 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008881/0.8424, allocations: 0.5325 MB / 0.9566 GB, free: 15.36 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.005135/0.8475, allocations: 4.592 MB / 0.9611 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009727/0.8485, allocations: 417.1 kB / 0.9615 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004788/0.849, allocations: 247.2 kB / 0.9617 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004137/0.8494, allocations: 198 kB / 0.9619 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006028/0.8501, allocations: 295.2 kB / 0.9622 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 1.954e-06/0.8501, allocations: 0 / 0.9622 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.001491/0.8516, allocations: 0.6337 MB / 0.9628 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.8516, allocations: 80.08 kB / 0.9629 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/0.8535, allocations: 1.12 MB / 0.964 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.8536, allocations: 38.64 kB / 0.964 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005052/0.8541, allocations: 489.4 kB / 0.9645 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.8543, allocations: 111.5 kB / 0.9646 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.8545, allocations: 109.9 kB / 0.9647 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.8546, allocations: 333 kB / 0.965 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.855, allocations: 210.3 kB / 0.9652 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006066/0.8556, allocations: 0.5206 MB / 0.9657 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008736/0.8565, allocations: 0.6342 MB / 0.9664 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.8565, allocations: 5.375 kB / 0.9664 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00134/0.8579, allocations: 0.7372 MB / 0.9671 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/0.8579, allocations: 33.8 kB / 0.9671 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.8579, allocations: 5.562 kB / 0.9671 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.858, allocations: 7.625 kB / 0.9671 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.8584, allocations: 108.3 kB / 0.9672 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.8584, allocations: 14.12 kB / 0.9672 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007764/0.8592, allocations: 74.66 kB / 0.9673 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-05/0.8593, allocations: 25.61 kB / 0.9673 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007877/0.8601, allocations: 0.4937 MB / 0.9678 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005665/0.8606, allocations: 490.9 kB / 0.9683 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007164/0.8614, allocations: 0.5555 MB / 0.9688 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.95e-06/0.8614, allocations: 11.38 kB / 0.9688 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009947/0.8624, allocations: 0.6414 MB / 0.9695 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.8624, allocations: 38.36 kB / 0.9695 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.8624, allocations: 5.281 kB / 0.9695 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/0.8625, allocations: 6.906 kB / 0.9695 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.8628, allocations: 99.55 kB / 0.9696 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.8628, allocations: 15.94 kB / 0.9696 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006683/0.8635, allocations: 65.44 kB / 0.9697 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.8635, allocations: 21.91 kB / 0.9697 GB, free: 8.848 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.0002116/0.8637, allocations: 218.6 kB / 0.9699 GB, free: 8.652 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.8639, allocations: 98.03 kB / 0.97 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008688/0.8647, allocations: 497.3 kB / 0.9705 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.8648, allocations: 10.78 kB / 0.9705 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.8648, allocations: 2.375 kB / 0.9705 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.8648, allocations: 2.484 kB / 0.9705 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.8667, allocations: 1.381 MB / 0.9718 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.8667, allocations: 2.812 kB / 0.9719 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.8669, allocations: 65.14 kB / 0.9719 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.8669, allocations: 6.812 kB / 0.9719 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.8669, allocations: 11.73 kB / 0.9719 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.8669, allocations: 3.031 kB / 0.9719 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.867, allocations: 2.531 kB / 0.9719 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000746/0.8677, allocations: 0.5992 MB / 0.9725 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/0.868, allocations: 211.1 kB / 0.9727 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.8681, allocations: 17.69 kB / 0.9727 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.8685, allocations: 24 kB / 0.9728 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.941e-05/0.8686, allocations: 39.45 kB / 0.9728 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.8686, allocations: 8.422 kB / 0.9728 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009309/0.8696, allocations: 0.7975 MB / 0.9736 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8696, allocations: 0 / 0.9736 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001199/0.8708, allocations: 402.9 kB / 0.974 GB, free: 7.484 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.0004823/0.8713, allocations: 178 kB / 0.9741 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.8726, allocations: 0.8107 MB / 0.9749 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.8727, allocations: 0 / 0.9749 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.873, allocations: 207 kB / 0.9751 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.875, allocations: 460.7 kB / 0.9756 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.8776, allocations: 1.738 MB / 0.9773 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008136/0.8785, allocations: 1.18 MB / 0.9784 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001128/0.8796, allocations: 412.8 kB / 0.9788 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.8798, allocations: 74.23 kB / 0.9789 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.8798, allocations: 0 / 0.9789 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of Templates: time 0.02818/0.908, allocations: 17.05 MB / 0.9955 GB, free: 12.68 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (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 & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)