Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.02595/0.02596, allocations: 166.4 kB / 15.11 MB, free: 5.93 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 1.549/1.549, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001996/0.001996, allocations: 110.4 kB / 226.2 MB, free: 10.1 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.4309/0.4309, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.000486, allocations: 19.98 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.115, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.32/11.43, allocations: 3.679 GB / 4.081 GB, free: 102.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/11.44, allocations: 82.44 kB / 4.081 GB, free: 102.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.888/20.32, allocations: 1.45 GB / 5.531 GB, free: 34.24 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.915e-06/20.32, allocations: 1 kB / 5.531 GB, free: 34.24 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003335/20.32, allocations: 66.31 kB / 5.531 GB, free: 34.23 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.03743/20.36, allocations: 7.543 MB / 5.538 GB, free: 30.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/20.36, allocations: 8.906 kB / 5.538 GB, free: 30.45 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001697/20.36, allocations: 288.1 kB / 5.539 GB, free: 30.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002201/20.36, allocations: 280.1 kB / 5.539 GB, free: 30.28 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00699/20.37, allocations: 1.634 MB / 5.541 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003436/20.37, allocations: 150.4 kB / 5.541 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001248/20.37, allocations: 182.5 kB / 5.541 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/20.38, allocations: 3.139 MB / 5.544 GB, free: 29.62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.288e-05/20.38, allocations: 6.031 kB / 5.544 GB, free: 29.62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005497/20.38, allocations: 84.98 kB / 5.544 GB, free: 29.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003635/20.38, allocations: 187.3 kB / 5.544 GB, free: 29.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01193/20.4, allocations: 3.513 MB / 5.548 GB, free: 29.61 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03665/20.43, allocations: 11.61 MB / 5.559 GB, free: 25.44 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004944/20.44, allocations: 1.621 MB / 5.561 GB, free: 25.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001989/20.44, allocations: 1.753 MB / 5.562 GB, free: 23.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/20.44, allocations: 53.41 kB / 5.562 GB, free: 23.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003352/20.44, allocations: 315.8 kB / 5.563 GB, free: 23.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=157): time 5.871e-06/20.44, allocations: 0 / 5.563 GB, free: 23.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=169): time 0.05247/20.5, allocations: 8.96 MB / 5.571 GB, free: 22.63 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.129e-05/20.5, allocations: 202.1 kB / 5.572 GB, free: 22.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003419/20.5, allocations: 1.45 MB / 5.573 GB, free: 22.22 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007221/20.5, allocations: 57.23 kB / 5.573 GB, free: 22.19 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/20.5, allocations: 1.015 MB / 5.574 GB, free: 21.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001215/20.5, allocations: 0.5903 MB / 5.575 GB, free: 21.35 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004894/20.5, allocations: 49.25 kB / 5.575 GB, free: 21.35 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002226/20.5, allocations: 400.5 kB / 5.575 GB, free: 21.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004413/20.51, allocations: 1.188 MB / 5.576 GB, free: 21.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004783/20.51, allocations: 1.727 MB / 5.578 GB, free: 20.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004895/20.52, allocations: 1.475 MB / 5.579 GB, free: 20.37 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.272e-05/20.52, allocations: 3.812 kB / 5.579 GB, free: 20.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01784/20.54, allocations: 4.038 MB / 5.583 GB, free: 20.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001378/20.54, allocations: 5.934 MB / 5.589 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-05/20.54, allocations: 16.08 kB / 5.589 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01379/20.55, allocations: 1.315 MB / 5.59 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004936/20.56, allocations: 0.5428 MB / 5.591 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005309/20.56, allocations: 2.142 MB / 5.593 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005273/20.57, allocations: 206.7 kB / 5.593 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008491/20.57, allocations: 180.7 kB / 5.593 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/20.57, allocations: 2.781 kB / 5.593 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01739/20.59, allocations: 3.784 MB / 5.597 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.638e-05/20.59, allocations: 15.81 kB / 5.597 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009734/20.6, allocations: 0.9614 MB / 5.598 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004734/20.6, allocations: 0.5445 MB / 5.599 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004198/20.6, allocations: 1.914 MB / 5.6 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004669/20.61, allocations: 197 kB / 5.601 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006475/20.61, allocations: 178.6 kB / 5.601 GB, free: 11.78 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance2.ind,traceSubstance.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (271): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 2 * 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 {2 6,5 14} Notification: Performance of prepare postOptimizeDAE: time 0.002111/20.61, allocations: 0.6497 MB / 5.601 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007175/20.61, allocations: 205.5 kB / 5.602 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/20.63, allocations: 4.01 MB / 5.606 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-05/20.63, allocations: 19.88 kB / 5.606 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/20.63, allocations: 1.719 kB / 5.606 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.983e-05/20.63, allocations: 11.86 kB / 5.606 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/20.64, allocations: 5.66 MB / 5.611 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/20.64, allocations: 2.75 kB / 5.611 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003042/20.65, allocations: 344.8 kB / 5.611 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01041/20.66, allocations: 1.177 MB / 5.613 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006945/20.66, allocations: 78.05 kB / 5.613 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004194/20.66, allocations: 2.046 MB / 5.615 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/20.66, allocations: 9.188 kB / 5.615 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/20.68, allocations: 4.728 MB / 5.619 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/20.68, allocations: 318.6 kB / 5.62 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/20.68, allocations: 48.78 kB / 5.62 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00325/20.68, allocations: 153.9 kB / 5.62 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004677/20.68, allocations: 143.3 kB / 5.62 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003829/20.68, allocations: 121.4 kB / 5.62 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00243/20.69, allocations: 1.106 MB / 5.621 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.31e-07/20.69, allocations: 3.281 kB / 5.621 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01614/20.7, allocations: 3.159 MB / 5.624 GB, free: 7.906 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (junction1.medium.p,junction1.medium.Xi[1],junction1.medium.T,junction1.mC_scaled[1]) * 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 (166): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * 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 {2 6,3 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.03201/20.73, allocations: 10.46 MB / 5.634 GB, free: 4.598 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01807/20.75, allocations: 4.829 MB / 5.639 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/20.75, allocations: 3.156 kB / 5.639 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004538/20.76, allocations: 1.354 MB / 5.64 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008755/20.77, allocations: 1.019 MB / 5.641 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02585/20.79, allocations: 17.88 MB / 5.659 GB, free: 6.324 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/20.79, allocations: 1.724 MB / 5.661 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008825/20.8, allocations: 1.213 MB / 5.662 GB, free: 5.383 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003418/20.81, allocations: 0.9403 MB / 5.663 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of SimCode: time 1.533e-06/20.81, allocations: 0 / 5.663 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8064/21.61, allocations: 126.8 MB / 5.787 GB, free: 59.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003517/21.61, allocations: 278.3 kB / 5.787 GB, free: 58.94 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.689/30.3, allocations: 0 / 5.787 GB, free: 58.94 MB / 0.5573 GB