Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003714/0.003714, allocations: 356.5 kB / 16.59 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.631/1.631, allocations: 165.8 MB / 183.1 MB, free: 5.477 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.662/3.662, allocations: 410.8 MB / 0.6001 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001775/0.001775, allocations: 196.3 kB / 0.6668 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004554, allocations: 12 kB / 0.7429 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3949, allocations: 67.44 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.6156/1.011, allocations: 146 MB / 0.9513 GB, free: 1.559 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.003709/1.014, allocations: 1.69 MB / 0.953 GB, free: 1.531 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003797/1.015, allocations: 10.28 kB / 0.953 GB, free: 1.531 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007273/1.015, allocations: 160.5 kB / 0.9531 GB, free: 1.531 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001855/1.017, allocations: 0.5325 MB / 0.9536 GB, free: 1.523 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/1.019, allocations: 413.8 kB / 0.954 GB, free: 1.516 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003927/1.023, allocations: 2.997 MB / 0.957 GB, free: 1.504 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004189/1.027, allocations: 2.038 MB / 0.959 GB, free: 1.289 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/1.03, allocations: 0.7979 MB / 0.9597 GB, free: 1.285 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/1.031, allocations: 0.7066 MB / 0.9604 GB, free: 1.285 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001831/1.031, allocations: 35.03 kB / 0.9605 GB, free: 1.285 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/1.033, allocations: 385.5 kB / 0.9608 GB, free: 1.285 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004189/1.033, allocations: 279.1 kB / 0.9611 GB, free: 1.285 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004769/1.034, allocations: 234.5 kB / 0.9613 GB, free: 1.242 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/1.035, allocations: 1.003 MB / 0.9623 GB, free: 1.141 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.035, allocations: 0 / 0.9623 GB, free: 1.141 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.854e-06/1.035, allocations: 0 / 0.9623 GB, free: 1.141 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.962e-05/1.036, allocations: 0 / 0.9623 GB, free: 1.141 MB / 474.7 MB 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.003101/1.039, allocations: 1.313 MB / 0.9636 GB, free: 356 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.039, allocations: 8.031 kB / 0.9636 GB, free: 356 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/1.04, allocations: 190.1 kB / 0.9638 GB, free: 288 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/1.042, allocations: 0.8014 MB / 0.9646 GB, free: 15.94 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.546e-05/1.042, allocations: 43.59 kB / 0.9646 GB, free: 15.94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/1.042, allocations: 62.64 kB / 0.9647 GB, free: 15.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/1.044, allocations: 0.823 MB / 0.9655 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/1.044, allocations: 9.234 kB / 0.9655 GB, free: 15.69 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.229e-05/1.044, allocations: 19.66 kB / 0.9655 GB, free: 15.69 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/1.044, allocations: 18.38 kB / 0.9655 GB, free: 15.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/1.046, allocations: 0.5722 MB / 0.9661 GB, free: 15.67 MB / 490.7 MB 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.005931/1.052, allocations: 4.256 MB / 0.9702 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/1.053, allocations: 444.7 kB / 0.9706 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007417/1.054, allocations: 349.1 kB / 0.971 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000407/1.054, allocations: 196.8 kB / 0.9712 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007846/1.055, allocations: 336 kB / 0.9715 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004767/1.055, allocations: 34.12 kB / 0.9715 GB, free: 12.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.406e-06/1.055, allocations: 0 / 0.9715 GB, free: 12.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.008926/1.064, allocations: 1.693 MB / 0.9732 GB, free: 11.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/1.064, allocations: 87.94 kB / 0.9733 GB, free: 11.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002102/1.067, allocations: 1.15 MB / 0.9744 GB, free: 11.17 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001125/1.067, allocations: 37.02 kB / 0.9744 GB, free: 11.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005438/1.067, allocations: 486.3 kB / 0.9749 GB, free: 10.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/1.067, allocations: 118.5 kB / 0.975 GB, free: 10.85 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/1.068, allocations: 9.25 kB / 0.975 GB, free: 10.85 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/1.068, allocations: 322.3 kB / 0.9753 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006197/1.068, allocations: 206.6 kB / 0.9755 GB, free: 10.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009161/1.069, allocations: 0.5235 MB / 0.976 GB, free: 10.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007426/1.07, allocations: 315.5 kB / 0.9763 GB, free: 9.973 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/1.07, allocations: 0 / 0.9763 GB, free: 9.973 MB / 490.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003656/1.074, allocations: 1.044 MB / 0.9773 GB, free: 9.582 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002124/1.074, allocations: 285 kB / 0.9776 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/1.074, allocations: 6.469 kB / 0.9776 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002205/1.076, allocations: 350.1 kB / 0.9779 GB, free: 9.141 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006784/1.077, allocations: 96.94 kB / 0.978 GB, free: 9.117 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/1.078, allocations: 1.047 MB / 0.9791 GB, free: 8.473 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/1.08, allocations: 87.56 kB / 0.9791 GB, free: 8.438 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.572e-05/1.08, allocations: 26.3 kB / 0.9792 GB, free: 8.434 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/1.08, allocations: 5.562 kB / 0.9792 GB, free: 8.434 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002308/1.083, allocations: 0.7906 MB / 0.9799 GB, free: 8.191 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/1.083, allocations: 4.594 kB / 0.98 GB, free: 8.191 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/1.084, allocations: 254.1 kB / 0.9802 GB, free: 8.121 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/1.084, allocations: 101.8 kB / 0.9803 GB, free: 8.094 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005667/1.09, allocations: 3.048 MB / 0.9833 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/1.092, allocations: 89.69 kB / 0.9834 GB, free: 6.273 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.569e-05/1.092, allocations: 25.64 kB / 0.9834 GB, free: 6.27 MB / 490.7 MB 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0008554/1.093, allocations: 472.7 kB / 0.9838 GB, free: 6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/1.093, allocations: 103.4 kB / 0.9839 GB, free: 5.949 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/1.095, allocations: 0.7813 MB / 0.9847 GB, free: 5.691 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/1.095, allocations: 7.297 kB / 0.9847 GB, free: 5.688 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/1.095, allocations: 3.953 kB / 0.9847 GB, free: 5.684 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005411/1.096, allocations: 228.4 kB / 0.9849 GB, free: 5.516 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/1.096, allocations: 10.28 kB / 0.9849 GB, free: 5.512 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/1.097, allocations: 65.89 kB / 0.985 GB, free: 5.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/1.097, allocations: 46.17 kB / 0.985 GB, free: 5.461 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002764/1.1, allocations: 0.8995 MB / 0.9859 GB, free: 5.066 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002029/1.102, allocations: 1.007 MB / 0.9869 GB, free: 4.574 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005743/1.103, allocations: 210 kB / 0.9871 GB, free: 4.516 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001536/1.104, allocations: 0.8139 MB / 0.9879 GB, free: 4.246 MB / 490.7 MB Notification: Performance of Backend: time 6.41e-07/1.104, allocations: 0 / 0.9879 GB, free: 4.246 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003938/1.108, allocations: 1.16 MB / 0.989 GB, free: 3.703 MB / 490.7 MB Notification: Performance of SimCode: time 0.006484/1.115, allocations: 2.889 MB / 0.9918 GB, free: 2.02 MB / 490.7 MB Notification: Performance of Templates: time 0.05128/1.166, allocations: 19.69 MB / 1.011 GB, free: 1.676 MB / 0.4948 GB