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.005406/0.005413, allocations: 353.7 kB / 15.94 MB, free: 6.211 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.553/1.553, allocations: 165.8 MB / 182.5 MB, free: 5.469 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.791/3.791, allocations: 410.7 MB / 0.5995 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.001725/0.001725, allocations: 198.1 kB / 0.6662 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004629/0.0004634, allocations: 12 kB / 0.7423 GB, free: 8.949 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.336, allocations: 67.45 MB / 0.8082 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.5547/0.8907, allocations: 151.3 MB / 0.9559 GB, free: 1.445 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.006006/0.8968, allocations: 3.813 MB / 0.9597 GB, free: 1.379 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005557/0.8974, allocations: 14.28 kB / 0.9597 GB, free: 1.379 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00073/0.8981, allocations: 211.9 kB / 0.9599 GB, free: 1.379 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.9005, allocations: 0.7395 MB / 0.9606 GB, free: 1.371 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.9023, allocations: 494.2 kB / 0.9611 GB, free: 1.359 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.006073/0.9084, allocations: 3.253 MB / 0.9643 GB, free: 1.348 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00504/0.9135, allocations: 2.183 MB / 0.9664 GB, free: 1.066 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003249/0.9168, allocations: 0.9569 MB / 0.9673 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/0.919, allocations: 0.8483 MB / 0.9681 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002815/0.9194, allocations: 49.12 kB / 0.9682 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/0.9216, allocations: 426.5 kB / 0.9686 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006978/0.9224, allocations: 331.4 kB / 0.9689 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006945/0.9231, allocations: 245.1 kB / 0.9692 GB, free: 0.543 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002309/0.9254, allocations: 1.138 MB / 0.9703 GB, free: 444 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.979e-06/0.9255, allocations: 2.391 kB / 0.9703 GB, free: 444 kB / 474.7 MB Notification: Performance of FrontEnd: time 3.154e-06/0.9255, allocations: 3.938 kB / 0.9703 GB, free: 440 kB / 474.7 MB Notification: Performance of Transformations before backend: time 2.006e-05/0.9256, allocations: 4 kB / 0.9703 GB, free: 436 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.005695/0.9313, allocations: 1.497 MB / 0.9717 GB, free: 15.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.9313, allocations: 9.406 kB / 0.9717 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/0.9333, allocations: 207 kB / 0.9719 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003823/0.9372, allocations: 0.8693 MB / 0.9728 GB, free: 15.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.209e-05/0.9373, allocations: 45.44 kB / 0.9728 GB, free: 15.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/0.9376, allocations: 64.81 kB / 0.9729 GB, free: 15.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003265/0.9409, allocations: 0.9935 MB / 0.9739 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/0.9409, allocations: 2.062 kB / 0.9739 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/0.9411, allocations: 26 kB / 0.9739 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.9412, allocations: 14.69 kB / 0.9739 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003062/0.9443, allocations: 0.8028 MB / 0.9747 GB, free: 14.38 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.01056/0.9548, allocations: 4.82 MB / 0.9794 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005/0.9599, allocations: 4.005 MB / 0.9833 GB, free: 6.191 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/0.9612, allocations: 360.6 kB / 0.9837 GB, free: 6.117 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005438/0.9617, allocations: 195 kB / 0.9838 GB, free: 5.922 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.9629, allocations: 336.6 kB / 0.9842 GB, free: 5.773 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007572/0.9637, allocations: 34.14 kB / 0.9842 GB, free: 5.754 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 5.941e-06/0.9637, allocations: 5.797 kB / 0.9842 GB, free: 5.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.0131/0.9768, allocations: 1.751 MB / 0.9859 GB, free: 4.992 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.764e-05/0.977, allocations: 80.02 kB / 0.986 GB, free: 4.898 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00335/0.9804, allocations: 1.181 MB / 0.9871 GB, free: 4.527 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000168/0.9806, allocations: 38.14 kB / 0.9872 GB, free: 4.496 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008533/0.9814, allocations: 0.5125 MB / 0.9877 GB, free: 4.277 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/0.9817, allocations: 119.6 kB / 0.9878 GB, free: 4.195 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.9818, allocations: 9.469 kB / 0.9878 GB, free: 4.195 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002234/0.982, allocations: 328.9 kB / 0.9881 GB, free: 3.879 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008947/0.983, allocations: 204.7 kB / 0.9883 GB, free: 3.836 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.9844, allocations: 0.5413 MB / 0.9888 GB, free: 3.391 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.9855, allocations: 309.4 kB / 0.9891 GB, free: 3.297 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.9855, allocations: 4.562 kB / 0.9891 GB, free: 3.297 MB / 490.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.005551/0.9911, allocations: 1.082 MB / 0.9902 GB, free: 2.891 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003274/0.9915, allocations: 274.7 kB / 0.9905 GB, free: 2.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.9915, allocations: 5.125 kB / 0.9905 GB, free: 2.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00303/0.9946, allocations: 387.6 kB / 0.9908 GB, free: 2.438 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000714/0.9953, allocations: 68.73 kB / 0.9909 GB, free: 2.422 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.9977, allocations: 1.048 MB / 0.9919 GB, free: 1.781 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002483/1, allocations: 112.4 kB / 0.992 GB, free: 1.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/1, allocations: 29.5 kB / 0.9921 GB, free: 1.727 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/1.001, allocations: 2.688 kB / 0.9921 GB, free: 1.727 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003523/1.004, allocations: 0.8163 MB / 0.9929 GB, free: 1.469 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/1.004, allocations: 5.781 kB / 0.9929 GB, free: 1.469 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/1.006, allocations: 264.3 kB / 0.9931 GB, free: 1.398 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/1.006, allocations: 76.36 kB / 0.9932 GB, free: 1.375 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008715/1.015, allocations: 3.14 MB / 0.9962 GB, free: 15.57 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/1.017, allocations: 99.14 kB / 0.9963 GB, free: 15.54 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/1.018, allocations: 22.53 kB / 0.9964 GB, free: 15.54 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.001261/1.019, allocations: 485.5 kB / 0.9968 GB, free: 15.26 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004122/1.019, allocations: 110.3 kB / 0.9969 GB, free: 15.2 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/1.022, allocations: 0.8041 MB / 0.9977 GB, free: 14.94 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/1.022, allocations: 5.562 kB / 0.9977 GB, free: 14.94 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.112e-06/1.022, allocations: 3.953 kB / 0.9977 GB, free: 14.94 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/1.022, allocations: 7.984 kB / 0.9977 GB, free: 14.93 MB / 0.4949 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 postOpt removeSimpleEquations (simulation): time 0.004167/1.026, allocations: 2.153 MB / 0.9998 GB, free: 13.75 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.391e-06/1.026, allocations: 2.938 kB / 0.9998 GB, free: 13.75 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000313/1.026, allocations: 56.61 kB / 0.9999 GB, free: 13.73 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006655/1.027, allocations: 198.8 kB / 1 GB, free: 13.67 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/1.027, allocations: 12.36 kB / 1 GB, free: 13.66 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/1.028, allocations: 0.8893 MB / 1.001 GB, free: 13.05 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.084e-06/1.028, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/1.03, allocations: 0.8971 MB / 1.002 GB, free: 12.62 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006207/1.031, allocations: 237.3 kB / 1.002 GB, free: 12.45 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/1.031, allocations: 7.969 kB / 1.002 GB, free: 12.45 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009621/1.032, allocations: 81.44 kB / 1.002 GB, free: 12.41 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/1.032, allocations: 38.97 kB / 1.002 GB, free: 12.39 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/1.032, allocations: 14.12 kB / 1.002 GB, free: 12.39 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001399/1.034, allocations: 0.8262 MB / 1.003 GB, free: 12.12 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.04e-06/1.034, allocations: 0 / 1.003 GB, free: 12.12 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001847/1.035, allocations: 0.5082 MB / 1.004 GB, free: 12.08 MB / 0.4949 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004944/1.036, allocations: 192.6 kB / 1.004 GB, free: 11.95 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.00254/1.038, allocations: 1.134 MB / 1.005 GB, free: 11.48 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 4.932e-06/1.039, allocations: 0 / 1.005 GB, free: 11.48 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.000657/1.039, allocations: 260.4 kB / 1.005 GB, free: 11.42 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004027/1.043, allocations: 0.6521 MB / 1.006 GB, free: 11.14 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004129/1.047, allocations: 2.115 MB / 1.008 GB, free: 9.105 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/1.049, allocations: 1.236 MB / 1.009 GB, free: 7.898 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.001495/1.05, allocations: 328.6 kB / 1.009 GB, free: 7.574 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/1.05, allocations: 63.44 kB / 1.009 GB, free: 7.512 MB / 0.4949 GB Notification: Performance of SimCode: time 2.344e-06/1.05, allocations: 0 / 1.009 GB, free: 7.512 MB / 0.4949 GB Notification: Performance of Templates: time 0.05044/1.101, allocations: 21.13 MB / 1.03 GB, free: 2.637 MB / 0.5105 GB