Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.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.TestPipesAndValves.LumpedPipeInitialization,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_LumpedPipeInitialization",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.01463/0.01463, allocations: 166.5 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.648/1.648, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.002022/0.002022, allocations: 111 kB / 226.2 MB, free: 10.09 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.4546/0.4546, allocations: 38.05 MB / 303.7 MB, free: 42.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004725/0.0004725, allocations: 12 kB / 363 MB, free: 5.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.102, allocations: 48.71 MB / 411.7 MB, free: 4.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.845/7.948, allocations: 2.542 GB / 2.944 GB, free: 91.68 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/7.948, allocations: 82.14 kB / 2.944 GB, free: 91.64 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.916/11.86, allocations: 0.7247 GB / 3.669 GB, free: 29.65 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.745e-06/11.86, allocations: 0 / 3.669 GB, free: 29.65 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002029/11.86, allocations: 28.47 kB / 3.669 GB, free: 29.64 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.01491/11.88, allocations: 2.829 MB / 3.672 GB, free: 28.05 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/11.88, allocations: 10.03 kB / 3.672 GB, free: 28.05 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008185/11.88, allocations: 158.7 kB / 3.672 GB, free: 27.95 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005028/11.89, allocations: 466.6 kB / 3.672 GB, free: 27.83 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004209/11.89, allocations: 1.135 MB / 3.673 GB, free: 27.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002153/11.89, allocations: 140 kB / 3.673 GB, free: 27.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003838/11.89, allocations: 95.97 kB / 3.673 GB, free: 27.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006523/11.9, allocations: 1.889 MB / 3.675 GB, free: 26.21 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.193e-05/11.9, allocations: 7.312 kB / 3.675 GB, free: 26.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002538/11.9, allocations: 47.52 kB / 3.675 GB, free: 26.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002057/11.9, allocations: 76.08 kB / 3.675 GB, free: 26.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007564/11.9, allocations: 1.776 MB / 3.677 GB, free: 25.59 MB / 458.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.01892/11.92, allocations: 8.552 MB / 3.686 GB, free: 19.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005296/11.93, allocations: 1.4 MB / 3.687 GB, free: 18.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5832/12.51, allocations: 63.19 MB / 3.749 GB, free: 36.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003591/12.52, allocations: 0.8913 MB / 3.749 GB, free: 36.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=82): time 4.238e-06/12.52, allocations: 5.641 kB / 3.749 GB, free: 36.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=86): time 0.01959/12.54, allocations: 4.625 MB / 3.754 GB, free: 35.19 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/12.54, allocations: 402.9 kB / 3.754 GB, free: 34.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/12.54, allocations: 0.9303 MB / 3.755 GB, free: 34.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002852/12.54, allocations: 45.77 kB / 3.755 GB, free: 34.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005791/12.54, allocations: 0.5675 MB / 3.756 GB, free: 34.33 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004254/12.54, allocations: 307.6 kB / 3.756 GB, free: 34.18 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/12.54, allocations: 22.88 kB / 3.756 GB, free: 34.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/12.54, allocations: 354.8 kB / 3.757 GB, free: 33.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001834/12.54, allocations: 0.5317 MB / 3.757 GB, free: 33.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/12.54, allocations: 1.011 MB / 3.758 GB, free: 33.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002289/12.55, allocations: 0.6992 MB / 3.759 GB, free: 33.31 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.454e-05/12.55, allocations: 2.5 kB / 3.759 GB, free: 33.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.00628/12.55, allocations: 1.932 MB / 3.761 GB, free: 33.19 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001238/12.55, allocations: 5.404 MB / 3.766 GB, free: 27.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.109e-05/12.55, allocations: 16.94 kB / 3.766 GB, free: 27.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01024/12.56, allocations: 1.106 MB / 3.767 GB, free: 27.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/12.57, allocations: 245.4 kB / 3.767 GB, free: 27.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00339/12.57, allocations: 1.495 MB / 3.769 GB, free: 27.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/12.57, allocations: 128.6 kB / 3.769 GB, free: 27.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002261/12.57, allocations: 73.17 kB / 3.769 GB, free: 27.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/12.57, allocations: 11.05 kB / 3.769 GB, free: 27.02 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005608/12.58, allocations: 1.677 MB / 3.771 GB, free: 26.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.682e-05/12.58, allocations: 15.97 kB / 3.771 GB, free: 26.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002573/12.58, allocations: 381.6 kB / 3.771 GB, free: 26.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/12.58, allocations: 279.7 kB / 3.771 GB, free: 26.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/12.58, allocations: 1.06 MB / 3.772 GB, free: 26.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/12.59, allocations: 128.8 kB / 3.772 GB, free: 26.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000344/12.59, allocations: 69.27 kB / 3.772 GB, free: 26.44 MB / 474.7 MB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 19 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.staticPipe2.flowModel.states[2].phase,pipe.staticPipe2.flowModel.states[1].phase,pipe.staticPipe1.flowModel.states[2].phase,pipe.staticPipe1.flowModel.states[1].phase,pipe.volume.regularFlow[1],pipe.volume.regularFlow[2],pipe.volume.inFlow[2],pipe.volume.inFlow[1],pipe.volume.heatTransfer.states[1].phase,sink.state.phase,sink.medium.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 35} Notification: Performance of prepare postOptimizeDAE: time 0.001236/12.59, allocations: 466.4 kB / 3.773 GB, free: 26.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003964/12.59, allocations: 129.4 kB / 3.773 GB, free: 26.19 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008959/12.6, allocations: 4.063 MB / 3.777 GB, free: 25.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.737e-05/12.6, allocations: 46.84 kB / 3.777 GB, free: 25.84 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/12.6, allocations: 0 / 3.777 GB, free: 25.84 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.104e-05/12.6, allocations: 10.33 kB / 3.777 GB, free: 25.84 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/12.61, allocations: 5.54 MB / 3.782 GB, free: 25.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/12.61, allocations: 7.891 kB / 3.782 GB, free: 25.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/12.61, allocations: 173.2 kB / 3.783 GB, free: 25.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01123/12.62, allocations: 1.535 MB / 3.784 GB, free: 25.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002854/12.62, allocations: 35.27 kB / 3.784 GB, free: 25.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002698/12.62, allocations: 2.091 MB / 3.786 GB, free: 24.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/12.62, allocations: 11.92 kB / 3.786 GB, free: 24.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009059/12.63, allocations: 3.987 MB / 3.79 GB, free: 23.56 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/12.64, allocations: 0.5325 MB / 3.791 GB, free: 23.32 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004281/12.64, allocations: 25.12 kB / 3.791 GB, free: 23.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/12.64, allocations: 96.92 kB / 3.791 GB, free: 23.31 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/12.64, allocations: 81.39 kB / 3.791 GB, free: 23.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/12.64, allocations: 38.09 kB / 3.791 GB, free: 23.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002248/12.64, allocations: 1.054 MB / 3.792 GB, free: 23.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.51e-07/12.64, allocations: 0 / 3.792 GB, free: 23.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01009/12.65, allocations: 2.043 MB / 3.794 GB, free: 23.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (pipe.volume.medium.p,pipe.volume.medium.h) * Number of discrete variables: 25 ($cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse19.phase,$cse19.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$whenCondition2,$whenCondition1,pipe.volume.heatTransfer.states[1].phase,m_flow_initial,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 1 * 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 1,1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.02119/12.67, allocations: 6.782 MB / 3.8 GB, free: 21.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007882/12.68, allocations: 2.469 MB / 3.803 GB, free: 21.36 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/12.68, allocations: 0 / 3.803 GB, free: 21.36 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002501/12.68, allocations: 1.053 MB / 3.804 GB, free: 21.35 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005688/12.69, allocations: 0.6239 MB / 3.804 GB, free: 21.34 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01835/12.71, allocations: 15.41 MB / 3.82 GB, free: 9.324 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/12.71, allocations: 1.483 MB / 3.821 GB, free: 8.605 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003724/12.71, allocations: 0.9812 MB / 3.822 GB, free: 8.586 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001633/12.71, allocations: 0.7156 MB / 3.823 GB, free: 8.578 MB / 474.7 MB Notification: Performance of SimCode: time 1.553e-06/12.71, allocations: 0 / 3.823 GB, free: 8.578 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2245/12.94, allocations: 83.17 MB / 3.904 GB, free: 4.598 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004478/12.94, allocations: 273.2 kB / 3.904 GB, free: 4.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.702/19.64, allocations: 0 / 3.904 GB, free: 4.23 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization_res.mat does not exist to compare? outputFormat=mat