Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sources.TestSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|boundary.ports.1..Xi_outflow.1.|boundary.ports.1..C_outflow.1.|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..C_outflow.1.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..C_outflow.1.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..C_outflow.1.|boundary4.ports.1..m_flow|boundary4.ports.1..p|boundary4.ports.1..h_outflow|boundary4.ports.1..Xi_outflow.1.|boundary4.ports.1..C_outflow.1.|boundary5.ports.1..m_flow|boundary5.ports.1..p|boundary5.ports.1..h_outflow|boundary5.ports.1..Xi_outflow.1.|boundary5.ports.1..C_outflow.1.|boundary6.ports.1..m_flow|boundary6.ports.1..p|boundary6.ports.1..h_outflow|boundary6.ports.1..Xi_outflow.1.|boundary6.ports.1..C_outflow.1.|boundary6.ports.2..m_flow|boundary6.ports.2..p|boundary6.ports.2..h_outflow|boundary6.ports.2..Xi_outflow.1.|boundary6.ports.2..C_outflow.1.|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow|C.y|P.y|traceSubstance1.port_b.m_flow|traceSubstance1.port_b.p|traceSubstance1.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002939/0.002947, allocations: 359.8 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.73/3.73, allocations: 388.9 MB / 405.6 MB, free: 9.598 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003528/0.003527, allocations: 227.2 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5484/0.5484, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.0004478, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1068, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.13/11.24, allocations: 3.668 GB / 4.349 GB, free: 126.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/11.24, allocations: 89.36 kB / 4.349 GB, free: 126.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.219/20.46, allocations: 1.427 GB / 5.775 GB, free: 28.83 MB / 0.5574 GB Notification: Performance of FrontEnd: time 3.216e-06/20.46, allocations: 0 / 5.775 GB, free: 28.83 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 0.0003034/20.46, allocations: 62.16 kB / 5.775 GB, free: 28.82 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.03571/20.49, allocations: 7.32 MB / 5.782 GB, free: 24.79 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/20.49, allocations: 10.41 kB / 5.782 GB, free: 24.79 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002568/20.5, allocations: 281.5 kB / 5.783 GB, free: 24.67 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006136/20.5, allocations: 1.523 MB / 5.784 GB, free: 24.22 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002888/20.5, allocations: 146.7 kB / 5.784 GB, free: 24.22 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001129/20.5, allocations: 182.4 kB / 5.784 GB, free: 24.21 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009899/20.51, allocations: 2.975 MB / 5.787 GB, free: 23.93 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.036e-05/20.51, allocations: 9.312 kB / 5.787 GB, free: 23.93 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005238/20.51, allocations: 86.86 kB / 5.787 GB, free: 23.93 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003211/20.51, allocations: 163.9 kB / 5.788 GB, free: 23.92 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/20.52, allocations: 3.239 MB / 5.791 GB, free: 23.89 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03662/20.56, allocations: 11.18 MB / 5.802 GB, free: 18.96 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008528/20.57, allocations: 1.859 MB / 5.804 GB, free: 18.91 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002441/20.57, allocations: 0.8001 MB / 5.804 GB, free: 18.9 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006926/20.58, allocations: 6.123 MB / 5.81 GB, free: 13.06 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.152e-05/20.58, allocations: 51.72 kB / 5.81 GB, free: 13.02 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002008/20.58, allocations: 210.4 kB / 5.811 GB, free: 12.93 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=150): time 8.937e-06/20.58, allocations: 0 / 5.811 GB, free: 12.93 MB / 0.5574 GB Notification: Performance of matching and sorting (n=150): time 0.01129/20.59, allocations: 2.851 MB / 5.813 GB, free: 12.57 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.369e-05/20.59, allocations: 202.5 kB / 5.814 GB, free: 12.34 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003146/20.6, allocations: 1.506 MB / 5.815 GB, free: 12.14 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0006354/20.6, allocations: 58.14 kB / 5.815 GB, free: 12.11 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009498/20.6, allocations: 0.9891 MB / 5.816 GB, free: 11.65 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.000915/20.6, allocations: 0.5203 MB / 5.817 GB, free: 11.32 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/20.6, allocations: 41.81 kB / 5.817 GB, free: 11.32 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001815/20.6, allocations: 391.2 kB / 5.817 GB, free: 11.02 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002872/20.6, allocations: 0.8467 MB / 5.818 GB, free: 11.01 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003715/20.61, allocations: 1.537 MB / 5.819 GB, free: 10.19 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003617/20.61, allocations: 1.24 MB / 5.82 GB, free: 9.996 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.843e-05/20.61, allocations: 7.219 kB / 5.82 GB, free: 9.996 MB / 0.5574 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.009961/20.62, allocations: 2.991 MB / 5.823 GB, free: 9.547 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006725/20.62, allocations: 0.8393 MB / 5.824 GB, free: 8.555 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.804e-05/20.62, allocations: 18.81 kB / 5.824 GB, free: 8.555 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005184/20.63, allocations: 0.6294 MB / 5.825 GB, free: 8.535 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004104/20.63, allocations: 0.4973 MB / 5.825 GB, free: 8.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/20.63, allocations: 1.518 MB / 5.827 GB, free: 7.445 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004225/20.64, allocations: 169.3 kB / 5.827 GB, free: 7.426 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009504/20.64, allocations: 165.8 kB / 5.827 GB, free: 7.426 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/20.64, allocations: 3.906 kB / 5.827 GB, free: 7.426 MB / 0.5574 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00884/20.65, allocations: 2.7 MB / 5.83 GB, free: 7.09 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.38e-05/20.65, allocations: 19.81 kB / 5.83 GB, free: 7.09 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002229/20.65, allocations: 342 kB / 5.83 GB, free: 7.07 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004537/20.65, allocations: 0.5506 MB / 5.831 GB, free: 7.039 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/20.65, allocations: 1.253 MB / 5.832 GB, free: 5.996 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003589/20.66, allocations: 158.6 kB / 5.832 GB, free: 5.98 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008248/20.66, allocations: 165.5 kB / 5.832 GB, free: 5.98 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * Number of states: 0 () * Number of discrete variables: 5 (traceSubstance.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (262): * Single equations (assignments): 255 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.002256/20.66, allocations: 0.6298 MB / 5.833 GB, free: 5.742 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000685/20.66, allocations: 186.7 kB / 5.833 GB, free: 5.648 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/20.67, allocations: 3.199 MB / 5.836 GB, free: 5.359 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/20.67, allocations: 17.5 kB / 5.836 GB, free: 5.359 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/20.67, allocations: 3.609 kB / 5.836 GB, free: 5.359 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.507e-05/20.67, allocations: 14.36 kB / 5.836 GB, free: 5.352 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/20.69, allocations: 4.629 MB / 5.841 GB, free: 4.18 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/20.69, allocations: 6.188 kB / 5.841 GB, free: 4.18 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0024/20.69, allocations: 307.3 kB / 5.841 GB, free: 4.148 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005698/20.69, allocations: 0.5635 MB / 5.841 GB, free: 4.07 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005606/20.69, allocations: 69.78 kB / 5.842 GB, free: 4.043 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/20.7, allocations: 1.508 MB / 5.843 GB, free: 18.82 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/20.7, allocations: 6.844 kB / 5.843 GB, free: 18.82 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006718/20.7, allocations: 2.301 MB / 5.845 GB, free: 17.73 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/20.7, allocations: 298.3 kB / 5.846 GB, free: 17.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007256/20.71, allocations: 34.16 kB / 5.846 GB, free: 17.48 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002538/20.71, allocations: 104.1 kB / 5.846 GB, free: 17.45 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004398/20.71, allocations: 138.7 kB / 5.846 GB, free: 17.43 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003751/20.71, allocations: 113.6 kB / 5.846 GB, free: 17.41 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002593/20.71, allocations: 1.047 MB / 5.847 GB, free: 17.02 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.82e-07/20.71, allocations: 7.062 kB / 5.847 GB, free: 17.01 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0146/20.73, allocations: 3.076 MB / 5.85 GB, free: 16.08 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01713/20.74, allocations: 4.16 MB / 5.854 GB, free: 14.93 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01214/20.76, allocations: 3.966 MB / 5.858 GB, free: 13.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.537e-05/20.76, allocations: 8.281 kB / 5.858 GB, free: 13.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003201/20.76, allocations: 0.9656 MB / 5.859 GB, free: 12.88 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008385/20.77, allocations: 0.8887 MB / 5.86 GB, free: 12.66 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05964/20.83, allocations: 19.59 MB / 5.879 GB, free: 0.5391 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/20.83, allocations: 1.654 MB / 5.88 GB, free: 15.19 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.007798/20.84, allocations: 1.046 MB / 5.882 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/20.84, allocations: 237.9 kB / 5.882 GB, free: 14.22 MB / 0.5886 GB Notification: Performance of SimCode: time 1.463e-06/20.84, allocations: 0 / 5.882 GB, free: 14.22 MB / 0.5886 GB Notification: Performance of Templates: time 0.7935/21.63, allocations: 92.41 MB / 5.972 GB, free: 53.81 MB / 0.5886 GB