Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.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: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01407/0.01407, allocations: 176.1 kB / 15.12 MB, free: 5.984 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 2.083/2.083, allocations: 194.5 MB / 210.3 MB, free: 8.586 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001997/0.001997, allocations: 112.7 kB / 255.6 MB, free: 11.2 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2592/0.2592, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004583, allocations: 13.17 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09473/0.09523, allocations: 54.87 MB / 461.1 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.054/8.149, allocations: 2.652 GB / 3.103 GB, free: 11.55 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/8.15, allocations: 79.77 kB / 3.103 GB, free: 11.51 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.043/12.19, allocations: 0.7425 GB / 3.845 GB, free: 33.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.114e-06/12.19, allocations: 0 / 3.845 GB, free: 33.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000132/12.19, allocations: 35.84 kB / 3.845 GB, free: 33.75 MB / 0.4948 GB 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.01304/12.21, allocations: 2.913 MB / 3.848 GB, free: 31.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/12.21, allocations: 8.031 kB / 3.848 GB, free: 31.08 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006501/12.21, allocations: 165.6 kB / 3.848 GB, free: 30.94 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004726/12.21, allocations: 475.4 kB / 3.849 GB, free: 30.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003862/12.22, allocations: 1.132 MB / 3.85 GB, free: 29.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/12.22, allocations: 147.8 kB / 3.85 GB, free: 29.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002725/12.22, allocations: 95.52 kB / 3.85 GB, free: 29.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005905/12.22, allocations: 1.885 MB / 3.852 GB, free: 27.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.997e-05/12.22, allocations: 0 / 3.852 GB, free: 27.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00021/12.22, allocations: 50.75 kB / 3.852 GB, free: 27.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001459/12.22, allocations: 80.5 kB / 3.852 GB, free: 27.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006183/12.23, allocations: 1.774 MB / 3.854 GB, free: 26.17 MB / 0.4948 GB 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.01653/12.24, allocations: 8.541 MB / 3.862 GB, free: 17.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004913/12.25, allocations: 1.405 MB / 3.864 GB, free: 16.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6137/12.86, allocations: 63.25 MB / 3.925 GB, free: 37.08 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003597/12.87, allocations: 0.8886 MB / 3.926 GB, free: 36.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=82): time 4.95e-06/12.87, allocations: 0 / 3.926 GB, free: 36.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=86): time 0.0197/12.89, allocations: 4.629 MB / 3.931 GB, free: 35.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/12.89, allocations: 405.7 kB / 3.931 GB, free: 35.42 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/12.89, allocations: 0.9298 MB / 3.932 GB, free: 35.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002915/12.89, allocations: 46.48 kB / 3.932 GB, free: 35.24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005521/12.89, allocations: 0.5634 MB / 3.933 GB, free: 35.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004369/12.89, allocations: 310 kB / 3.933 GB, free: 34.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/12.89, allocations: 26.44 kB / 3.933 GB, free: 34.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001124/12.89, allocations: 358.7 kB / 3.933 GB, free: 34.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/12.89, allocations: 0.531 MB / 3.934 GB, free: 34.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/12.89, allocations: 1.01 MB / 3.935 GB, free: 34.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002229/12.9, allocations: 0.6965 MB / 3.935 GB, free: 34.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/12.9, allocations: 7.812 kB / 3.935 GB, free: 34.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.006186/12.9, allocations: 1.934 MB / 3.937 GB, free: 33.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001137/12.9, allocations: 5.406 MB / 3.943 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-05/12.9, allocations: 12.62 kB / 3.943 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01027/12.91, allocations: 1.107 MB / 3.944 GB, free: 28.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/12.92, allocations: 247.2 kB / 3.944 GB, free: 28.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003524/12.92, allocations: 1.499 MB / 3.945 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/12.92, allocations: 130.6 kB / 3.946 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/12.92, allocations: 74.02 kB / 3.946 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/12.92, allocations: 5.406 kB / 3.946 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00556/12.93, allocations: 1.681 MB / 3.947 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.563e-05/12.93, allocations: 13.16 kB / 3.947 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/12.93, allocations: 386.2 kB / 3.948 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/12.93, allocations: 284.4 kB / 3.948 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/12.94, allocations: 1.057 MB / 3.949 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/12.94, allocations: 126.7 kB / 3.949 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002812/12.94, allocations: 72.09 kB / 3.949 GB, free: 27.13 MB / 0.5105 GB 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.001207/12.94, allocations: 468.3 kB / 3.95 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003925/12.94, allocations: 125.8 kB / 3.95 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008597/12.95, allocations: 4.055 MB / 3.954 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.739e-05/12.95, allocations: 41.41 kB / 3.954 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/12.95, allocations: 6.984 kB / 3.954 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.428e-05/12.95, allocations: 7.188 kB / 3.954 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/12.96, allocations: 5.543 MB / 3.959 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/12.96, allocations: 3.812 kB / 3.959 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/12.96, allocations: 179.4 kB / 3.959 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01077/12.97, allocations: 1.532 MB / 3.961 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002644/12.97, allocations: 27.33 kB / 3.961 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002356/12.97, allocations: 2.104 MB / 3.963 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/12.97, allocations: 5.688 kB / 3.963 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008535/12.98, allocations: 3.978 MB / 3.967 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/12.98, allocations: 0.5365 MB / 3.967 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004451/12.99, allocations: 26.19 kB / 3.967 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/12.99, allocations: 92.56 kB / 3.967 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/12.99, allocations: 78.23 kB / 3.967 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/12.99, allocations: 39.39 kB / 3.967 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002315/12.99, allocations: 1.058 MB / 3.969 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.52e-07/12.99, allocations: 1.125 kB / 3.969 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01028/13, allocations: 2.054 MB / 3.971 GB, free: 23.83 MB / 0.5105 GB 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.02169/13.02, allocations: 6.793 MB / 3.977 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008246/13.03, allocations: 2.47 MB / 3.98 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/13.03, allocations: 0 / 3.98 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002671/13.03, allocations: 1.046 MB / 3.981 GB, free: 22.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005709/13.04, allocations: 0.6377 MB / 3.981 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01658/13.06, allocations: 15.41 MB / 3.996 GB, free: 9.984 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/13.06, allocations: 1.478 MB / 3.998 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003321/13.06, allocations: 0.9828 MB / 3.999 GB, free: 9.195 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/13.06, allocations: 0.7161 MB / 3.999 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of SimCode: time 1.302e-06/13.06, allocations: 0 / 3.999 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1914/13.25, allocations: 83.49 MB / 4.081 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003651/13.25, allocations: 269.2 kB / 4.081 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.792/20.05, allocations: 3.906 kB / 4.081 GB, free: 0.9648 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization_res.mat does not exist to compare? outputFormat=mat