Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues.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.TestOverdeterminedInitial.DynamicPipeInitialValues,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestOverdeterminedInitial_DynamicPipeInitialValues",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.01032/0.01032, allocations: 164.1 kB / 15.11 MB, free: 5.984 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.666/1.666, allocations: 170.8 MB / 186.6 MB, free: 1.145 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.001963/0.001963, allocations: 103.4 kB / 226.2 MB, free: 10.11 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.4801/0.4801, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006466/0.0006462, allocations: 8 kB / 363 MB, free: 5.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1081, allocations: 48.71 MB / 411.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.741/7.849, allocations: 2.553 GB / 2.955 GB, free: 55.21 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/7.85, allocations: 81.89 kB / 2.955 GB, free: 55.17 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.622/10.47, allocations: 487.9 MB / 3.432 GB, free: 31.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.575e-06/10.47, allocations: 0 / 3.432 GB, free: 31.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001492/10.47, allocations: 37.75 kB / 3.432 GB, free: 31.16 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.01537/10.49, allocations: 3.043 MB / 3.435 GB, free: 29.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/10.49, allocations: 14.36 kB / 3.435 GB, free: 29.96 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001388/10.49, allocations: 263.8 kB / 3.435 GB, free: 29.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007423/10.5, allocations: 0.6616 MB / 3.436 GB, free: 29.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006212/10.5, allocations: 1.521 MB / 3.437 GB, free: 29.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003059/10.5, allocations: 167 kB / 3.437 GB, free: 29.44 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009061/10.5, allocations: 156.1 kB / 3.438 GB, free: 29.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01206/10.52, allocations: 3.363 MB / 3.441 GB, free: 28.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-05/10.52, allocations: 15.73 kB / 3.441 GB, free: 28.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004865/10.52, allocations: 68.34 kB / 3.441 GB, free: 28.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002337/10.52, allocations: 158.9 kB / 3.441 GB, free: 28.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01269/10.53, allocations: 3.281 MB / 3.444 GB, free: 28.96 MB / 442.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.02745/10.56, allocations: 13.35 MB / 3.457 GB, free: 20.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008696/10.57, allocations: 2.188 MB / 3.459 GB, free: 19.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2212/10.79, allocations: 61.63 MB / 3.52 GB, free: 12.63 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006578/10.79, allocations: 1.635 MB / 3.521 GB, free: 11.37 MB / 474.7 MB Notification: Performance of pre-optimization done (n=143): time 5.31e-06/10.79, allocations: 0 / 3.521 GB, free: 11.37 MB / 474.7 MB Notification: Performance of matching and sorting (n=163): time 0.0456/10.84, allocations: 10.41 MB / 3.531 GB, free: 2.422 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001991/10.84, allocations: 329.7 kB / 3.532 GB, free: 2.023 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/10.84, allocations: 1.113 MB / 3.533 GB, free: 1.07 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005571/10.84, allocations: 57.7 kB / 3.533 GB, free: 1.008 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/10.84, allocations: 0.788 MB / 3.534 GB, free: 300 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.3384/11.18, allocations: 0.563 MB / 3.534 GB, free: 62.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003596/11.18, allocations: 40.66 kB / 3.534 GB, free: 62.84 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001986/11.18, allocations: 386.2 kB / 3.535 GB, free: 62.54 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004303/11.19, allocations: 1.182 MB / 3.536 GB, free: 62.53 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00496/11.19, allocations: 1.744 MB / 3.537 GB, free: 61.89 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.882/20.07, allocations: 0.7374 GB / 4.275 GB, free: 77.01 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-05/20.08, allocations: 6.469 kB / 4.275 GB, free: 77.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01188/20.09, allocations: 3.461 MB / 4.278 GB, free: 76.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001558/20.09, allocations: 6.536 MB / 4.285 GB, free: 70.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.109e-05/20.09, allocations: 13.88 kB / 4.285 GB, free: 70.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002631/20.09, allocations: 469.2 kB / 4.285 GB, free: 69.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004308/20.1, allocations: 0.5133 MB / 4.286 GB, free: 69.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002858/20.1, allocations: 3.307 MB / 4.289 GB, free: 67.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003909/20.1, allocations: 259.2 kB / 4.289 GB, free: 67.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003969/20.1, allocations: 98.59 kB / 4.289 GB, free: 67.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/20.1, allocations: 9 kB / 4.289 GB, free: 67.36 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01052/20.11, allocations: 3.187 MB / 4.292 GB, free: 67.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-05/20.11, allocations: 20.89 kB / 4.292 GB, free: 67.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002344/20.12, allocations: 458.2 kB / 4.293 GB, free: 67.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004134/20.12, allocations: 0.5073 MB / 4.293 GB, free: 67.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/20.12, allocations: 3.312 MB / 4.296 GB, free: 64.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003666/20.13, allocations: 253 kB / 4.297 GB, free: 64.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003647/20.13, allocations: 100.6 kB / 4.297 GB, free: 64.59 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: pipe.mediums[1].p = 10000000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 16 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,pipe.state_a.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (244): * Single equations (assignments): 239 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 8,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001899/20.13, allocations: 0.6745 MB / 4.297 GB, free: 64.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005294/20.13, allocations: 164.4 kB / 4.298 GB, free: 64.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01525/20.14, allocations: 6.654 MB / 4.304 GB, free: 63.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.442e-05/20.14, allocations: 66.98 kB / 4.304 GB, free: 63.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/20.14, allocations: 7.703 kB / 4.304 GB, free: 63.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01102/20.16, allocations: 5.225 MB / 4.309 GB, free: 63.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02036/20.18, allocations: 9.104 MB / 4.318 GB, free: 62.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-05/20.18, allocations: 0 / 4.318 GB, free: 62.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003292/20.18, allocations: 405.6 kB / 4.319 GB, free: 62.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003369/20.18, allocations: 0.557 MB / 4.319 GB, free: 62.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004943/20.18, allocations: 63.25 kB / 4.319 GB, free: 62.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002701/20.19, allocations: 3.402 MB / 4.322 GB, free: 59.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/20.19, allocations: 1.406 kB / 4.322 GB, free: 59.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01586/20.2, allocations: 6.809 MB / 4.329 GB, free: 56.13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002376/20.2, allocations: 0.7692 MB / 4.33 GB, free: 55.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006338/20.21, allocations: 48.83 kB / 4.33 GB, free: 55.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002863/20.21, allocations: 199.5 kB / 4.33 GB, free: 55.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005415/20.21, allocations: 168.9 kB / 4.33 GB, free: 55.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002056/20.21, allocations: 65.88 kB / 4.33 GB, free: 55.42 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002542/20.21, allocations: 1.186 MB / 4.332 GB, free: 54.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.12e-07/20.21, allocations: 4 kB / 4.332 GB, free: 54.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01231/20.22, allocations: 2.29 MB / 4.334 GB, free: 52.92 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h,pipe.mediums[3].p,pipe.mediums[3].h,pipe.mediums[4].p,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 36 ($cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse17.phase,$cse17.region,$cse18.region3boundary,$cse19.region3boundary,$cse20.phase,$cse20.region,$cse25.phase,$cse25.region,$cse31.phase,$cse31.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$whenCondition1,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].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 (180): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 8,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02993/20.25, allocations: 9.715 MB / 4.343 GB, free: 46.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01536/20.27, allocations: 5.012 MB / 4.348 GB, free: 43.81 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/20.27, allocations: 4 kB / 4.348 GB, free: 43.81 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005817/20.28, allocations: 2.242 MB / 4.35 GB, free: 41.87 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006741/20.28, allocations: 0.7332 MB / 4.351 GB, free: 41.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6432/20.93, allocations: 105.9 MB / 4.454 GB, free: 54.81 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002009/20.93, allocations: 2.004 MB / 4.456 GB, free: 54.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007028/20.93, allocations: 2.264 MB / 4.459 GB, free: 53.94 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002662/20.94, allocations: 1.058 MB / 4.46 GB, free: 53.93 MB / 490.7 MB Notification: Performance of SimCode: time 1.523e-06/20.94, allocations: 0 / 4.46 GB, free: 53.93 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5629/21.5, allocations: 92.58 MB / 4.55 GB, free: 63.71 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003001/21.5, allocations: 269.2 kB / 4.55 GB, free: 63.35 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.715/28.22, allocations: 3.938 kB / 4.55 GB, free: 63.35 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues_res.mat does not exist to compare? outputFormat=mat