Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00265/0.002657, allocations: 345.9 kB / 15.93 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.166/3.166, allocations: 341.5 MB / 358.2 MB, free: 28.77 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00631/0.00631, allocations: 223.2 kB / 397.8 MB, free: 6.152 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5961/0.5961, allocations: 76.1 MB / 0.5014 GB, free: 0.8281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004673/0.0004674, allocations: 15.98 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09749/0.09798, allocations: 48.7 MB / 0.6067 GB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.62/11.71, allocations: 3.662 GB / 4.268 GB, free: 110.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/11.71, allocations: 92.39 kB / 4.268 GB, free: 110.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.537/20.25, allocations: 1.417 GB / 5.686 GB, free: 17.47 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.735e-06/20.25, allocations: 0 / 5.686 GB, free: 17.47 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002909/20.25, allocations: 59.92 kB / 5.686 GB, free: 17.41 MB / 0.5105 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.03657/20.29, allocations: 7.324 MB / 5.693 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/20.29, allocations: 8.031 kB / 5.693 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002548/20.29, allocations: 276.8 kB / 5.693 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006059/20.3, allocations: 1.522 MB / 5.695 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002789/20.3, allocations: 143.5 kB / 5.695 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/20.3, allocations: 184 kB / 5.695 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009841/20.31, allocations: 2.97 MB / 5.698 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-05/20.31, allocations: 0 / 5.698 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005382/20.31, allocations: 83.92 kB / 5.698 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003132/20.31, allocations: 162.6 kB / 5.698 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01062/20.32, allocations: 3.237 MB / 5.701 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03754/20.36, allocations: 10.83 MB / 5.712 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007113/20.36, allocations: 1.873 MB / 5.714 GB, free: 5.957 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002867/20.37, allocations: 0.7972 MB / 5.714 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5113/20.88, allocations: 6.119 MB / 5.72 GB, free: 35.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.818e-05/20.88, allocations: 53.47 kB / 5.72 GB, free: 35.26 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002256/20.88, allocations: 204 kB / 5.721 GB, free: 35.26 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=150): time 1.302e-05/20.88, allocations: 0.5938 kB / 5.721 GB, free: 35.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=150): time 0.01216/20.89, allocations: 2.851 MB / 5.723 GB, free: 34.99 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.805e-05/20.89, allocations: 199.7 kB / 5.724 GB, free: 34.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003469/20.9, allocations: 1.508 MB / 5.725 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000721/20.9, allocations: 58.52 kB / 5.725 GB, free: 34.58 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00102/20.9, allocations: 0.9875 MB / 5.726 GB, free: 34.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001079/20.9, allocations: 0.515 MB / 5.727 GB, free: 33.96 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003193/20.9, allocations: 48.62 kB / 5.727 GB, free: 33.96 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002053/20.9, allocations: 394.5 kB / 5.727 GB, free: 33.65 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003145/20.9, allocations: 0.8453 MB / 5.728 GB, free: 33.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004073/20.91, allocations: 1.537 MB / 5.729 GB, free: 32.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004156/20.91, allocations: 1.245 MB / 5.731 GB, free: 32.67 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.07e-05/20.91, allocations: 8.188 kB / 5.731 GB, free: 32.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.0107/20.92, allocations: 2.99 MB / 5.733 GB, free: 32.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000641/20.92, allocations: 0.8328 MB / 5.734 GB, free: 31.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.607e-05/20.92, allocations: 20.53 kB / 5.734 GB, free: 31.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005333/20.93, allocations: 0.6266 MB / 5.735 GB, free: 31.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004293/20.93, allocations: 0.5012 MB / 5.735 GB, free: 31.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/20.94, allocations: 1.509 MB / 5.737 GB, free: 30.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004359/20.94, allocations: 171.9 kB / 5.737 GB, free: 30.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/20.94, allocations: 162.7 kB / 5.737 GB, free: 30.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/20.94, allocations: 3.469 kB / 5.737 GB, free: 30.3 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009841/20.95, allocations: 2.699 MB / 5.74 GB, free: 30.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001066/20.95, allocations: 21.33 kB / 5.74 GB, free: 30.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002308/20.95, allocations: 340.4 kB / 5.74 GB, free: 30.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004658/20.96, allocations: 0.5537 MB / 5.741 GB, free: 30.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/20.96, allocations: 1.26 MB / 5.742 GB, free: 29.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004213/20.96, allocations: 151.8 kB / 5.742 GB, free: 29.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/20.97, allocations: 162.5 kB / 5.742 GB, free: 29.04 MB / 0.5261 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.002565/20.97, allocations: 0.6292 MB / 5.743 GB, free: 28.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007587/20.97, allocations: 187 kB / 5.743 GB, free: 28.76 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/20.98, allocations: 3.201 MB / 5.746 GB, free: 28.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.091e-05/20.98, allocations: 20.25 kB / 5.746 GB, free: 28.54 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/20.98, allocations: 0 / 5.746 GB, free: 28.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.972e-05/20.98, allocations: 6.516 kB / 5.746 GB, free: 28.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01413/20.99, allocations: 4.633 MB / 5.751 GB, free: 27.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/20.99, allocations: 7.562 kB / 5.751 GB, free: 27.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0026/21, allocations: 311.5 kB / 5.751 GB, free: 27.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00446/21, allocations: 0.5613 MB / 5.752 GB, free: 27.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00057/21, allocations: 66.05 kB / 5.752 GB, free: 27.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/21, allocations: 1.509 MB / 5.753 GB, free: 26.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.615e-06/21, allocations: 5.469 kB / 5.753 GB, free: 26.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006763/21.01, allocations: 2.304 MB / 5.755 GB, free: 26.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/21.01, allocations: 298 kB / 5.756 GB, free: 26.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000651/21.01, allocations: 35.28 kB / 5.756 GB, free: 26.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002434/21.01, allocations: 110.2 kB / 5.756 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003944/21.01, allocations: 135.6 kB / 5.756 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003475/21.02, allocations: 111.8 kB / 5.756 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002264/21.02, allocations: 1.048 MB / 5.757 GB, free: 26.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.51e-07/21.02, allocations: 0 / 5.757 GB, free: 26.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0143/21.03, allocations: 3.079 MB / 5.76 GB, free: 26.04 MB / 0.5261 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.01642/21.05, allocations: 4.159 MB / 5.764 GB, free: 25.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01176/21.06, allocations: 3.972 MB / 5.768 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.957e-05/21.06, allocations: 4.156 kB / 5.768 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003159/21.06, allocations: 0.9704 MB / 5.769 GB, free: 24.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008458/21.07, allocations: 0.888 MB / 5.77 GB, free: 24.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04808/21.12, allocations: 19.58 MB / 5.789 GB, free: 22.92 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001538/21.12, allocations: 1.655 MB / 5.791 GB, free: 22.19 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007739/21.13, allocations: 1.048 MB / 5.792 GB, free: 22.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001618/21.13, allocations: 236.9 kB / 5.792 GB, free: 22.13 MB / 0.5261 GB Notification: Performance of SimCode: time 1.112e-06/21.13, allocations: 3.844 kB / 5.792 GB, free: 22.13 MB / 0.5261 GB Notification: Performance of Templates: time 0.2074/21.34, allocations: 92.39 MB / 5.882 GB, free: 10.93 MB / 0.5261 GB