Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00243/0.002434, allocations: 358.7 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.406/1.406, allocations: 165.8 MB / 183.1 MB, free: 5.484 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.688/3.688, allocations: 410.8 MB / 0.6001 GB, free: 15.09 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.001749/0.001749, allocations: 188.9 kB / 0.6668 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.0004342, allocations: 12 kB / 0.7429 GB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3899, allocations: 67.45 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.6153/1.005, allocations: 151.3 MB / 0.9565 GB, free: 1.473 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.007414/1.013, allocations: 3.817 MB / 0.9603 GB, free: 1.402 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006899/1.013, allocations: 14.75 kB / 0.9603 GB, free: 1.402 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/1.014, allocations: 213.9 kB / 0.9605 GB, free: 1.398 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003085/1.018, allocations: 0.7425 MB / 0.9612 GB, free: 1.387 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002191/1.02, allocations: 488.4 kB / 0.9617 GB, free: 1.379 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.005238/1.025, allocations: 3.257 MB / 0.9649 GB, free: 1.363 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00414/1.029, allocations: 2.178 MB / 0.967 GB, free: 1.086 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00287/1.032, allocations: 0.9625 MB / 0.9679 GB, free: 0.875 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00204/1.034, allocations: 0.8419 MB / 0.9687 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003195/1.035, allocations: 46.72 kB / 0.9688 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/1.037, allocations: 426.5 kB / 0.9692 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006807/1.037, allocations: 332 kB / 0.9695 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007004/1.038, allocations: 248.2 kB / 0.9697 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002261/1.04, allocations: 1.142 MB / 0.9709 GB, free: 464 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.04, allocations: 0 / 0.9709 GB, free: 464 kB / 474.7 MB Notification: Performance of FrontEnd: time 2.424e-06/1.04, allocations: 0 / 0.9709 GB, free: 464 kB / 474.7 MB Notification: Performance of Transformations before backend: time 4.891e-05/1.04, allocations: 0 / 0.9709 GB, free: 464 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004452/1.045, allocations: 1.503 MB / 0.9723 GB, free: 15.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.045, allocations: 8.125 kB / 0.9723 GB, free: 15.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/1.046, allocations: 202.5 kB / 0.9725 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002706/1.049, allocations: 0.869 MB / 0.9734 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.188e-05/1.049, allocations: 49.75 kB / 0.9734 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/1.049, allocations: 63.94 kB / 0.9735 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/1.052, allocations: 0.9931 MB / 0.9745 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/1.052, allocations: 3.938 kB / 0.9745 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.666e-05/1.052, allocations: 21.62 kB / 0.9745 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/1.052, allocations: 21.67 kB / 0.9745 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002147/1.054, allocations: 0.8008 MB / 0.9753 GB, free: 14.45 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.007342/1.062, allocations: 4.812 MB / 0.98 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003198/1.065, allocations: 4.014 MB / 0.9839 GB, free: 6.266 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009142/1.066, allocations: 360.7 kB / 0.9842 GB, free: 6.191 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004208/1.066, allocations: 191.5 kB / 0.9844 GB, free: 5.996 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008541/1.067, allocations: 342.8 kB / 0.9848 GB, free: 5.848 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005595/1.068, allocations: 27.81 kB / 0.9848 GB, free: 5.832 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 3.035e-06/1.068, allocations: 1.75 kB / 0.9848 GB, free: 5.832 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.009388/1.077, allocations: 1.75 MB / 0.9865 GB, free: 5.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/1.077, allocations: 83.05 kB / 0.9866 GB, free: 4.977 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/1.08, allocations: 1.184 MB / 0.9877 GB, free: 4.602 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001432/1.08, allocations: 37.64 kB / 0.9878 GB, free: 4.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005874/1.08, allocations: 0.5159 MB / 0.9883 GB, free: 4.348 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/1.08, allocations: 119.7 kB / 0.9884 GB, free: 4.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/1.081, allocations: 8.969 kB / 0.9884 GB, free: 4.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/1.081, allocations: 332.1 kB / 0.9887 GB, free: 3.953 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006527/1.081, allocations: 204.6 kB / 0.9889 GB, free: 3.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009416/1.082, allocations: 0.5376 MB / 0.9894 GB, free: 3.465 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007735/1.083, allocations: 318.1 kB / 0.9897 GB, free: 3.367 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/1.083, allocations: 2.656 kB / 0.9897 GB, free: 3.367 MB / 490.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003923/1.087, allocations: 1.072 MB / 0.9908 GB, free: 2.965 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002197/1.087, allocations: 283.6 kB / 0.9911 GB, free: 2.637 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.087, allocations: 5.438 kB / 0.9911 GB, free: 2.637 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002304/1.09, allocations: 376.7 kB / 0.9914 GB, free: 2.516 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006031/1.09, allocations: 73.83 kB / 0.9915 GB, free: 2.496 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/1.092, allocations: 1.049 MB / 0.9925 GB, free: 1.855 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/1.094, allocations: 110.6 kB / 0.9926 GB, free: 1.805 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/1.094, allocations: 22.25 kB / 0.9926 GB, free: 1.805 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/1.094, allocations: 5.625 kB / 0.9926 GB, free: 1.805 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002403/1.096, allocations: 0.818 MB / 0.9934 GB, free: 1.547 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.096, allocations: 5.391 kB / 0.9934 GB, free: 1.547 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/1.098, allocations: 270.9 kB / 0.9937 GB, free: 1.469 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000572/1.098, allocations: 74.64 kB / 0.9938 GB, free: 1.449 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005753/1.104, allocations: 3.126 MB / 0.9968 GB, free: 15.64 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/1.106, allocations: 102 kB / 0.9969 GB, free: 15.59 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/1.106, allocations: 24.94 kB / 0.997 GB, free: 15.59 MB / 0.4949 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_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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0008905/1.107, allocations: 477.6 kB / 0.9974 GB, free: 15.32 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003104/1.107, allocations: 110.8 kB / 0.9975 GB, free: 15.27 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/1.11, allocations: 0.8076 MB / 0.9983 GB, free: 15 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/1.11, allocations: 3.984 kB / 0.9983 GB, free: 15 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/1.11, allocations: 6.312 kB / 0.9983 GB, free: 14.99 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007293/1.11, allocations: 236.9 kB / 0.9985 GB, free: 14.82 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/1.111, allocations: 10.5 kB / 0.9985 GB, free: 14.82 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/1.112, allocations: 81.16 kB / 0.9986 GB, free: 14.78 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/1.112, allocations: 46.69 kB / 0.9987 GB, free: 14.76 MB / 0.4949 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002714/1.115, allocations: 0.8996 MB / 0.9995 GB, free: 14.36 MB / 0.4949 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002217/1.117, allocations: 1.024 MB / 1.001 GB, free: 13.86 MB / 0.4949 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006027/1.118, allocations: 206.9 kB / 1.001 GB, free: 13.8 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001685/1.12, allocations: 0.8297 MB / 1.002 GB, free: 13.54 MB / 0.4949 GB Notification: Performance of Backend: time 7.62e-07/1.12, allocations: 0 / 1.002 GB, free: 13.54 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.004133/1.124, allocations: 1.176 MB / 1.003 GB, free: 12.98 MB / 0.4949 GB Notification: Performance of SimCode: time 0.007397/1.131, allocations: 3.054 MB / 1.006 GB, free: 11.18 MB / 0.4949 GB Notification: Performance of Templates: time 0.05593/1.187, allocations: 20.09 MB / 1.025 GB, free: 7.688 MB / 0.5105 GB