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.001242/0.001242, allocations: 115.2 kB / 16.37 MB, free: 5.996 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.001166/0.001167, allocations: 188.7 kB / 17.31 MB, free: 5.605 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.394/1.394, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.75/1.75, allocations: 292.3 MB / 0.5496 GB, free: 17.4 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.001415/0.001415, allocations: 72.5 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2509, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.627/0.8779, allocations: 161.6 MB / 0.9426 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003168/0.8811, allocations: 1.756 MB / 0.9443 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000267/0.8815, allocations: 7.938 kB / 0.9443 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006062/0.8821, allocations: 158.9 kB / 0.9445 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.8834, allocations: 0.5211 MB / 0.945 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.8845, allocations: 404 kB / 0.9454 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002744/0.8873, allocations: 2.521 MB / 0.9479 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.8885, allocations: 0.9252 MB / 0.9488 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.8901, allocations: 1.024 MB / 0.9498 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009097/0.891, allocations: 0.7039 MB / 0.9504 GB, free: 372 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.8911, allocations: 56 kB / 0.9505 GB, free: 316 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.8926, allocations: 0.7406 MB / 0.9512 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003267/0.8929, allocations: 318.8 kB / 0.9515 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006197/0.8936, allocations: 0.5362 MB / 0.952 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.8951, allocations: 1.406 MB / 0.9534 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.8951, allocations: 0 / 0.9534 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8951, allocations: 3.938 kB / 0.9534 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.8951, allocations: 1.406 kB / 0.9534 GB, free: 13.3 MB / 0.7481 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.002175/0.8973, allocations: 1.445 MB / 0.9548 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.8974, allocations: 12.02 kB / 0.9548 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007369/0.8981, allocations: 182.5 kB / 0.955 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.8995, allocations: 0.8561 MB / 0.9559 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.8995, allocations: 45 kB / 0.9559 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.487e-05/0.8996, allocations: 60 kB / 0.956 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.9008, allocations: 0.7927 MB / 0.9567 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.9008, allocations: 7.938 kB / 0.9567 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.231e-05/0.9009, allocations: 20 kB / 0.9568 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.9009, allocations: 20 kB / 0.9568 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009198/0.9018, allocations: 0.5305 MB / 0.9573 GB, free: 9.148 MB / 0.7481 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.004341/0.9062, allocations: 4.587 MB / 0.9618 GB, free: 4.18 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007279/0.9069, allocations: 418.8 kB / 0.9622 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/0.9073, allocations: 240.7 kB / 0.9624 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002955/0.9076, allocations: 194.2 kB / 0.9626 GB, free: 3.297 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005031/0.9081, allocations: 291.2 kB / 0.9629 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/0.9081, allocations: 0 / 0.9629 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31): time 0.001413/0.9096, allocations: 0.6426 MB / 0.9635 GB, free: 2.352 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.9096, allocations: 81.33 kB / 0.9636 GB, free: 2.254 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.9111, allocations: 1.125 MB / 0.9647 GB, free: 1.109 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.9111, allocations: 37.64 kB / 0.9647 GB, free: 1.066 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004252/0.9116, allocations: 496.1 kB / 0.9652 GB, free: 0.5781 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.793e-05/0.9117, allocations: 110.5 kB / 0.9653 GB, free: 480 kB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.9118, allocations: 113.9 kB / 0.9654 GB, free: 360 kB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.912, allocations: 325.9 kB / 0.9657 GB, free: 28 kB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003929/0.9124, allocations: 214.4 kB / 0.9659 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006222/0.913, allocations: 0.5175 MB / 0.9664 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009382/0.914, allocations: 0.6273 MB / 0.967 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.914, allocations: 4 kB / 0.967 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001202/0.9152, allocations: 0.7215 MB / 0.9677 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/0.9153, allocations: 33.7 kB / 0.9678 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.9153, allocations: 4 kB / 0.9678 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.9153, allocations: 8 kB / 0.9678 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.9157, allocations: 112.3 kB / 0.9679 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.9158, allocations: 15.94 kB / 0.9679 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006142/0.9164, allocations: 71.48 kB / 0.968 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/0.9164, allocations: 24 kB / 0.968 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000686/0.9171, allocations: 0.5044 MB / 0.9685 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005557/0.9177, allocations: 496.7 kB / 0.969 GB, free: 12.33 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007673/0.9185, allocations: 0.5511 MB / 0.9695 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.117e-06/0.9185, allocations: 8 kB / 0.9695 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001025/0.9195, allocations: 0.6424 MB / 0.9701 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.9196, allocations: 33.7 kB / 0.9702 GB, free: 11 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.9196, allocations: 4.375 kB / 0.9702 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.9196, allocations: 11.98 kB / 0.9702 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.9199, allocations: 103.8 kB / 0.9703 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.92, allocations: 11.94 kB / 0.9703 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005817/0.9206, allocations: 68.25 kB / 0.9704 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.9206, allocations: 24 kB / 0.9704 GB, free: 10.78 MB / 0.7637 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.0001977/0.9208, allocations: 225.1 kB / 0.9706 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.9209, allocations: 98.78 kB / 0.9707 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000891/0.9218, allocations: 487.5 kB / 0.9712 GB, free: 9.973 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.9218, allocations: 9.062 kB / 0.9712 GB, free: 9.965 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.9219, allocations: 4 kB / 0.9712 GB, free: 9.961 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.9219, allocations: 5.391 kB / 0.9712 GB, free: 9.957 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.9239, allocations: 1.375 MB / 0.9725 GB, free: 8.504 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.9239, allocations: 7.938 kB / 0.9725 GB, free: 8.496 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.9241, allocations: 63.89 kB / 0.9726 GB, free: 8.434 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.9242, allocations: 3.938 kB / 0.9726 GB, free: 8.43 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.9242, allocations: 10.56 kB / 0.9726 GB, free: 8.422 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.9242, allocations: 7.938 kB / 0.9726 GB, free: 8.414 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.9242, allocations: 4.219 kB / 0.9726 GB, free: 8.41 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008334/0.925, allocations: 0.6028 MB / 0.9732 GB, free: 7.77 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002651/0.9253, allocations: 211.8 kB / 0.9734 GB, free: 7.543 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.9254, allocations: 11.98 kB / 0.9734 GB, free: 7.531 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.9258, allocations: 19.98 kB / 0.9734 GB, free: 7.512 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/0.9259, allocations: 23.97 kB / 0.9735 GB, free: 7.488 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.9259, allocations: 19.98 kB / 0.9735 GB, free: 7.469 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009794/0.9269, allocations: 0.7914 MB / 0.9742 GB, free: 6.668 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9269, allocations: 1.5 kB / 0.9742 GB, free: 6.668 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001057/0.928, allocations: 407.4 kB / 0.9746 GB, free: 6.27 MB / 0.7637 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.0004294/0.9284, allocations: 169.9 kB / 0.9748 GB, free: 6.105 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.9298, allocations: 0.8138 MB / 0.9756 GB, free: 5.27 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9298, allocations: 0 / 0.9756 GB, free: 5.27 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003504/0.9301, allocations: 205.2 kB / 0.9758 GB, free: 5.07 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.932, allocations: 457.4 kB / 0.9762 GB, free: 4.676 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.9348, allocations: 1.79 MB / 0.978 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007673/0.9356, allocations: 1.18 MB / 0.9791 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.9358, allocations: 75.42 kB / 0.9792 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of SimCode: time 3.2e-07/0.9358, allocations: 0 / 0.9792 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of Templates: time 0.02511/0.9609, allocations: 15.85 MB / 0.9947 GB, free: 1.938 MB / 0.7794 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)