Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002365/0.002369, allocations: 356 kB / 15.94 MB, free: 6.207 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.375/1.375, allocations: 165.8 MB / 182.5 MB, free: 5.422 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.72/3.72, allocations: 410.8 MB / 0.5995 GB, free: 15.18 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.001778/0.001778, allocations: 196.7 kB / 0.6662 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.000468, allocations: 12 kB / 0.7423 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3325, allocations: 67.45 MB / 0.8082 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.5346/0.8672, allocations: 146 MB / 0.9507 GB, free: 1.586 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.004978/0.8722, allocations: 3.299 MB / 0.9539 GB, free: 1.535 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.8727, allocations: 10.31 kB / 0.954 GB, free: 1.535 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005861/0.8733, allocations: 159.1 kB / 0.9541 GB, free: 1.531 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.875, allocations: 0.5334 MB / 0.9546 GB, free: 1.527 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.8767, allocations: 452.8 kB / 0.9551 GB, free: 1.523 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.00336/0.88, allocations: 2.98 MB / 0.958 GB, free: 1.52 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.8813, allocations: 0.6952 MB / 0.9586 GB, free: 1.395 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.8828, allocations: 0.8139 MB / 0.9594 GB, free: 1.387 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009375/0.8838, allocations: 0.7037 MB / 0.9601 GB, free: 1.387 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.8839, allocations: 34.06 kB / 0.9602 GB, free: 1.387 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.8851, allocations: 386.5 kB / 0.9605 GB, free: 1.387 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003432/0.8855, allocations: 280.2 kB / 0.9608 GB, free: 1.359 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002722/0.8858, allocations: 233.7 kB / 0.961 GB, free: 1.293 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.887, allocations: 0.9789 MB / 0.962 GB, free: 1.191 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.557e-06/0.887, allocations: 7.094 kB / 0.962 GB, free: 1.188 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.887, allocations: 0 / 0.962 GB, free: 1.188 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.887, allocations: 0 / 0.962 GB, free: 1.188 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002199/0.8892, allocations: 1.284 MB / 0.9632 GB, free: 404 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.8893, allocations: 9.781 kB / 0.9632 GB, free: 404 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008967/0.8902, allocations: 184.6 kB / 0.9634 GB, free: 340 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.892, allocations: 0.7995 MB / 0.9642 GB, free: 15.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/0.892, allocations: 45.91 kB / 0.9642 GB, free: 15.99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.8922, allocations: 60.41 kB / 0.9643 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.8935, allocations: 0.7945 MB / 0.9651 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.8936, allocations: 6.875 kB / 0.9651 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.955e-05/0.8937, allocations: 24.19 kB / 0.9651 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.8937, allocations: 17.89 kB / 0.9651 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.8948, allocations: 0.5414 MB / 0.9657 GB, free: 15.71 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.00543/0.9003, allocations: 4.597 MB / 0.9701 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008704/0.9012, allocations: 430 kB / 0.9706 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004733/0.9017, allocations: 252.3 kB / 0.9708 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003575/0.902, allocations: 202.7 kB / 0.971 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006085/0.9027, allocations: 304.2 kB / 0.9713 GB, free: 11.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=31): time 3.439e-06/0.9027, allocations: 0 / 0.9713 GB, free: 11.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=31): time 0.005125/0.9078, allocations: 1.345 MB / 0.9726 GB, free: 11.58 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.9079, allocations: 80.2 kB / 0.9727 GB, free: 11.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.9098, allocations: 1.111 MB / 0.9738 GB, free: 11.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.828e-05/0.9099, allocations: 37.39 kB / 0.9738 GB, free: 11.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004849/0.9104, allocations: 488.8 kB / 0.9743 GB, free: 10.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.9105, allocations: 120.2 kB / 0.9744 GB, free: 10.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.9106, allocations: 5.188 kB / 0.9744 GB, free: 10.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.9107, allocations: 335.6 kB / 0.9747 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/0.9112, allocations: 178.9 kB / 0.9749 GB, free: 10.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007326/0.912, allocations: 0.5007 MB / 0.9754 GB, free: 10.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005518/0.9125, allocations: 294.2 kB / 0.9756 GB, free: 9.926 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.824e-06/0.9125, allocations: 3.594 kB / 0.9756 GB, free: 9.926 MB / 490.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002845/0.9154, allocations: 0.9753 MB / 0.9766 GB, free: 9.551 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002282/0.9156, allocations: 277.8 kB / 0.9769 GB, free: 9.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.9157, allocations: 5.062 kB / 0.9769 GB, free: 9.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001693/0.9174, allocations: 351.5 kB / 0.9772 GB, free: 9.109 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.9177, allocations: 62.78 kB / 0.9773 GB, free: 9.094 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.919, allocations: 1.012 MB / 0.9782 GB, free: 8.453 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.9201, allocations: 113.5 kB / 0.9784 GB, free: 8.395 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.851e-05/0.9202, allocations: 23.38 kB / 0.9784 GB, free: 8.395 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.81e-06/0.9203, allocations: 5.734 kB / 0.9784 GB, free: 8.395 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001735/0.922, allocations: 0.7312 MB / 0.9791 GB, free: 8.164 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.922, allocations: 5.531 kB / 0.9791 GB, free: 8.164 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007005/0.9227, allocations: 219.8 kB / 0.9793 GB, free: 8.098 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.923, allocations: 66.48 kB / 0.9794 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004746/0.9278, allocations: 3.109 MB / 0.9824 GB, free: 6.195 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.9289, allocations: 92.91 kB / 0.9825 GB, free: 6.156 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-05/0.9289, allocations: 23.06 kB / 0.9825 GB, free: 6.156 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007193/0.9297, allocations: 465.3 kB / 0.983 GB, free: 5.891 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.9298, allocations: 100 kB / 0.9831 GB, free: 5.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/0.9315, allocations: 0.7281 MB / 0.9838 GB, free: 5.582 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.9315, allocations: 5.781 kB / 0.9838 GB, free: 5.582 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.949e-06/0.9315, allocations: 0 / 0.9838 GB, free: 5.582 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.431e-06/0.9315, allocations: 0 / 0.9838 GB, free: 5.582 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003114/0.9347, allocations: 1.614 MB / 0.9853 GB, free: 4.789 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.9347, allocations: 2.25 kB / 0.9854 GB, free: 4.789 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.9348, allocations: 20.7 kB / 0.9854 GB, free: 4.785 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006528/0.9355, allocations: 235.5 kB / 0.9856 GB, free: 4.707 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.9356, allocations: 8.594 kB / 0.9856 GB, free: 4.707 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.9367, allocations: 0.9755 MB / 0.9866 GB, free: 4.082 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.171e-06/0.9367, allocations: 7.438 kB / 0.9866 GB, free: 4.078 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.939, allocations: 0.8407 MB / 0.9874 GB, free: 3.656 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005012/0.9395, allocations: 228.7 kB / 0.9876 GB, free: 3.484 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.9397, allocations: 6.156 kB / 0.9876 GB, free: 3.484 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007144/0.9404, allocations: 60.78 kB / 0.9877 GB, free: 3.457 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.9405, allocations: 42.7 kB / 0.9877 GB, free: 3.438 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/0.9406, allocations: 11.94 kB / 0.9877 GB, free: 3.434 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001432/0.942, allocations: 0.79 MB / 0.9885 GB, free: 3.172 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.96e-07/0.942, allocations: 0 / 0.9885 GB, free: 3.172 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001566/0.9436, allocations: 445.8 kB / 0.9889 GB, free: 3.141 MB / 490.7 MB 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004478/0.9441, allocations: 175.4 kB / 0.9891 GB, free: 3.023 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002324/0.9464, allocations: 1.054 MB / 0.9901 GB, free: 2.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.779e-06/0.9465, allocations: 0 / 0.9901 GB, free: 2.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006633/0.9471, allocations: 239.6 kB / 0.9903 GB, free: 2.516 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/0.9497, allocations: 460.5 kB / 0.9908 GB, free: 2.367 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.9531, allocations: 1.975 MB / 0.9927 GB, free: 1.262 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009907/0.9541, allocations: 1.21 MB / 0.9939 GB, free: 368 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001246/0.9554, allocations: 319.3 kB / 0.9942 GB, free: 220 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.9555, allocations: 57.22 kB / 0.9942 GB, free: 212 kB / 490.7 MB Notification: Performance of SimCode: time 1.69e-06/0.9556, allocations: 2.906 kB / 0.9943 GB, free: 212 kB / 490.7 MB Notification: Performance of Templates: time 0.05896/1.015, allocations: 18.36 MB / 1.012 GB, free: 388 kB / 0.4949 GB