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.002451/0.002455, allocations: 353.8 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.473/1.473, allocations: 165.8 MB / 182.5 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.618/3.618, allocations: 410.8 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.001764/0.001763, allocations: 201.4 kB / 0.6662 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004756/0.0004758, allocations: 15.94 kB / 0.7423 GB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3316, allocations: 67.44 MB / 0.8082 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.5399/0.8716, allocations: 146 MB / 0.9507 GB, free: 1.582 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.003203/0.8748, allocations: 1.701 MB / 0.9524 GB, free: 1.555 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003665/0.8752, allocations: 7.969 kB / 0.9524 GB, free: 1.555 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005964/0.8758, allocations: 162.2 kB / 0.9525 GB, free: 1.551 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.8775, allocations: 0.5315 MB / 0.9531 GB, free: 1.547 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.879, allocations: 416.3 kB / 0.9535 GB, free: 1.535 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003427/0.8824, allocations: 2.993 MB / 0.9564 GB, free: 1.531 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003391/0.8859, allocations: 2.044 MB / 0.9584 GB, free: 1.316 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.8879, allocations: 0.7935 MB / 0.9591 GB, free: 1.316 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.8892, allocations: 0.7105 MB / 0.9598 GB, free: 1.309 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.8893, allocations: 33.38 kB / 0.9599 GB, free: 1.309 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.8908, allocations: 387.2 kB / 0.9602 GB, free: 1.309 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005106/0.8913, allocations: 280.8 kB / 0.9605 GB, free: 1.309 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005305/0.8919, allocations: 228.3 kB / 0.9607 GB, free: 1.262 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.8936, allocations: 1 MB / 0.9617 GB, free: 1.16 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.38e-06/0.8936, allocations: 3.344 kB / 0.9617 GB, free: 1.16 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.8937, allocations: 0 / 0.9617 GB, free: 1.16 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.124e-05/0.8937, allocations: 0 / 0.9617 GB, free: 1.16 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.002532/0.8962, allocations: 1.319 MB / 0.963 GB, free: 368 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.8963, allocations: 9.75 kB / 0.963 GB, free: 368 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.8973, allocations: 187.7 kB / 0.9632 GB, free: 304 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/0.8994, allocations: 0.8012 MB / 0.964 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/0.8995, allocations: 42.94 kB / 0.964 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.8996, allocations: 57.78 kB / 0.9641 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.9011, allocations: 0.8246 MB / 0.9649 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.9012, allocations: 6.812 kB / 0.9649 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.09e-05/0.9012, allocations: 18.47 kB / 0.9649 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.9013, allocations: 16.86 kB / 0.9649 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.9025, allocations: 0.5778 MB / 0.9655 GB, free: 15.68 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.005564/0.9081, allocations: 4.26 MB / 0.9696 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009275/0.909, allocations: 448.6 kB / 0.9701 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005761/0.9096, allocations: 350.9 kB / 0.9704 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003639/0.91, allocations: 195.6 kB / 0.9706 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000649/0.9107, allocations: 325.3 kB / 0.9709 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003857/0.9111, allocations: 34.44 kB / 0.9709 GB, free: 12.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.662e-06/0.9111, allocations: 0 / 0.9709 GB, free: 12.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.006714/0.9178, allocations: 1.692 MB / 0.9726 GB, free: 11.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.9179, allocations: 87.25 kB / 0.9727 GB, free: 11.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.9198, allocations: 1.146 MB / 0.9738 GB, free: 11.18 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.862e-05/0.9199, allocations: 37.78 kB / 0.9738 GB, free: 11.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005038/0.9204, allocations: 495.1 kB / 0.9743 GB, free: 10.94 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.9206, allocations: 109.3 kB / 0.9744 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.9206, allocations: 7.875 kB / 0.9744 GB, free: 10.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.9208, allocations: 332.1 kB / 0.9747 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/0.9213, allocations: 204.6 kB / 0.9749 GB, free: 10.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007724/0.9221, allocations: 0.5157 MB / 0.9754 GB, free: 10.08 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006012/0.9227, allocations: 327.1 kB / 0.9757 GB, free: 9.969 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.9227, allocations: 2.156 kB / 0.9757 GB, free: 9.969 MB / 490.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002961/0.9257, allocations: 1.038 MB / 0.9767 GB, free: 9.586 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002568/0.926, allocations: 284.6 kB / 0.977 GB, free: 9.258 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.926, allocations: 10.31 kB / 0.977 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001658/0.9277, allocations: 351.8 kB / 0.9774 GB, free: 9.141 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/0.9282, allocations: 102 kB / 0.9775 GB, free: 9.113 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.9297, allocations: 1.043 MB / 0.9785 GB, free: 8.469 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.931, allocations: 93.03 kB / 0.9786 GB, free: 8.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.977e-05/0.9311, allocations: 22.81 kB / 0.9786 GB, free: 8.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.9311, allocations: 7.938 kB / 0.9786 GB, free: 8.43 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001902/0.933, allocations: 0.7897 MB / 0.9794 GB, free: 8.188 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.9331, allocations: 5.031 kB / 0.9794 GB, free: 8.188 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00084/0.9339, allocations: 255.1 kB / 0.9796 GB, free: 8.117 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/0.9344, allocations: 94.09 kB / 0.9797 GB, free: 8.098 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004833/0.9392, allocations: 3.053 MB / 0.9827 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.9405, allocations: 93.16 kB / 0.9828 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-05/0.9406, allocations: 21.94 kB / 0.9828 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.0007597/0.9414, allocations: 465.5 kB / 0.9832 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.9416, allocations: 100.1 kB / 0.9833 GB, free: 5.953 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/0.9434, allocations: 0.7933 MB / 0.9841 GB, free: 5.688 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.9434, allocations: 9.016 kB / 0.9841 GB, free: 5.684 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.9435, allocations: 0 / 0.9841 GB, free: 5.684 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.574e-06/0.9435, allocations: 0 / 0.9841 GB, free: 5.684 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003511/0.947, allocations: 1.737 MB / 0.9858 GB, free: 4.855 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.185e-06/0.947, allocations: 6.969 kB / 0.9858 GB, free: 4.852 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/0.9473, allocations: 54.3 kB / 0.9859 GB, free: 4.836 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007363/0.9481, allocations: 241.8 kB / 0.9861 GB, free: 4.762 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.522e-05/0.9482, allocations: 16.41 kB / 0.9861 GB, free: 4.758 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.9495, allocations: 1 MB / 0.9871 GB, free: 4.129 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.788e-06/0.9495, allocations: 6.844 kB / 0.9871 GB, free: 4.125 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.9514, allocations: 0.9036 MB / 0.988 GB, free: 3.695 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005485/0.952, allocations: 236.6 kB / 0.9882 GB, free: 3.523 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.9521, allocations: 6.156 kB / 0.9882 GB, free: 3.523 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008889/0.953, allocations: 68.86 kB / 0.9883 GB, free: 3.492 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.9532, allocations: 35.8 kB / 0.9883 GB, free: 3.473 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.9532, allocations: 15.58 kB / 0.9883 GB, free: 3.473 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001336/0.9546, allocations: 0.81 MB / 0.9891 GB, free: 3.207 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.9546, allocations: 0 / 0.9891 GB, free: 3.207 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001753/0.9563, allocations: 470.6 kB / 0.9896 GB, free: 3.18 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_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 (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004924/0.9569, allocations: 175 kB / 0.9897 GB, free: 3.062 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00261/0.9595, allocations: 1.129 MB / 0.9908 GB, free: 2.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.314e-06/0.9595, allocations: 2.656 kB / 0.9908 GB, free: 2.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007215/0.9602, allocations: 257.4 kB / 0.9911 GB, free: 2.527 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00396/0.9642, allocations: 0.632 MB / 0.9917 GB, free: 2.293 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003683/0.9679, allocations: 1.989 MB / 0.9936 GB, free: 1.195 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.969, allocations: 1.201 MB / 0.9948 GB, free: 304 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001415/0.9704, allocations: 349.2 kB / 0.9952 GB, free: 140 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.9706, allocations: 65.64 kB / 0.9952 GB, free: 128 kB / 490.7 MB Notification: Performance of SimCode: time 1.63e-06/0.9706, allocations: 0 / 0.9952 GB, free: 128 kB / 490.7 MB Notification: Performance of Templates: time 0.04956/1.02, allocations: 20.72 MB / 1.015 GB, free: 12.98 MB / 0.5105 GB