Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009537/0.0009536, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009061/0.0009061, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003859/0.003859, allocations: 0.543 MB / 291.6 MB, free: 1.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003638, allocations: 11.98 kB / 352.8 MB, free: 2.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1221, allocations: 50.57 MB / 403.3 MB, free: 124 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature): time 0.2514/0.3736, allocations: 288.2 kB / 403.6 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002426/0.3739, allocations: 50.22 kB / 403.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.3739, allocations: 0 / 403.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.417e-05/0.3739, allocations: 5.094 kB / 403.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.153e-05/0.374, allocations: 0.6562 kB / 403.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.886e-05/0.3741, allocations: 13.2 kB / 403.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.3742, allocations: 43.72 kB / 403.7 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.306e-05/0.3743, allocations: 5.531 kB / 403.7 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.963e-05/0.3744, allocations: 23.56 kB / 403.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.893e-05/0.3745, allocations: 25.98 kB / 403.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.3745, allocations: 2.938 kB / 403.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.536e-05/0.3745, allocations: 7.297 kB / 403.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.3745, allocations: 16.02 kB / 403.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.3746, allocations: 34.33 kB / 403.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.508e-05/0.3746, allocations: 14.38 kB / 403.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3746, allocations: 0 / 403.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3747, allocations: 0.75 kB / 403.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.3747, allocations: 0 / 403.9 MB, free: 10.36 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004643/0.3751, allocations: 365.5 kB / 404.2 MB, free: 10 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.3752, allocations: 12.91 kB / 404.2 MB, free: 9.996 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.3752, allocations: 41.8 kB / 404.3 MB, free: 9.953 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.3753, allocations: 7.844 kB / 404.3 MB, free: 9.949 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.3754, allocations: 171 kB / 404.5 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3754, allocations: 3.938 kB / 404.5 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.3755, allocations: 9.312 kB / 404.5 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.3756, allocations: 69.59 kB / 404.5 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.3756, allocations: 0 / 404.5 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3757, allocations: 3.125 kB / 404.5 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3757, allocations: 1.281 kB / 404.5 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.3758, allocations: 43.84 kB / 404.6 MB, free: 9.707 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.3763, allocations: 309.8 kB / 404.9 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.3766, allocations: 103.7 kB / 405 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.424e-05/0.3767, allocations: 33.23 kB / 405 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.3767, allocations: 7.062 kB / 405 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.3767, allocations: 37.2 kB / 405.1 MB, free: 9.355 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.3767, allocations: 0 / 405.1 MB, free: 9.355 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002731/0.3795, allocations: 0.7553 MB / 405.8 MB, free: 9.059 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.3795, allocations: 57.41 kB / 405.9 MB, free: 8.992 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.234e-05/0.3796, allocations: 113.6 kB / 406 MB, free: 8.891 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.3796, allocations: 28.86 kB / 406 MB, free: 8.859 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.3797, allocations: 96 kB / 406.1 MB, free: 8.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/0.3798, allocations: 55.09 kB / 406.2 MB, free: 8.734 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.3798, allocations: 3.906 kB / 406.2 MB, free: 8.734 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.409e-05/0.3799, allocations: 320.1 kB / 406.5 MB, free: 8.422 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.784e-05/0.38, allocations: 41.92 kB / 406.5 MB, free: 8.418 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.3801, allocations: 68.19 kB / 406.6 MB, free: 8.395 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.3802, allocations: 47.31 kB / 406.6 MB, free: 8.391 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3802, allocations: 0.7969 kB / 406.6 MB, free: 8.391 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001486/0.3817, allocations: 347.6 kB / 407 MB, free: 8.328 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.3818, allocations: 5 kB / 407 MB, free: 8.328 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3818, allocations: 0.9688 kB / 407 MB, free: 8.328 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001679/0.3835, allocations: 285.7 kB / 407.3 MB, free: 8.293 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.836e-05/0.3835, allocations: 9.609 kB / 407.3 MB, free: 8.293 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003416/0.3869, allocations: 2.1 MB / 409.4 MB, free: 6.633 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.441e-05/0.387, allocations: 6.188 kB / 409.4 MB, free: 6.629 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.387, allocations: 3.531 kB / 409.4 MB, free: 6.629 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 initialization (7): * Single equations (assignments): 6 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.3872, allocations: 121.1 kB / 409.5 MB, free: 6.504 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.3872, allocations: 7.219 kB / 409.5 MB, free: 6.5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/0.3873, allocations: 22.91 kB / 409.5 MB, free: 6.48 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3873, allocations: 2.156 kB / 409.5 MB, free: 6.48 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.3873, allocations: 1.406 kB / 409.5 MB, free: 6.48 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3873, allocations: 0.5625 kB / 409.5 MB, free: 6.48 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.3875, allocations: 203.4 kB / 409.7 MB, free: 6.273 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3875, allocations: 0.5625 kB / 409.7 MB, free: 6.273 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.947e-05/0.3876, allocations: 12.41 kB / 409.7 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001965/0.3896, allocations: 294.9 kB / 410 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.3896, allocations: 3.125 kB / 410 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.3917, allocations: 1.756 MB / 411.8 MB, free: 4.715 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3918, allocations: 3.953 kB / 411.8 MB, free: 4.711 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.3928, allocations: 410.2 kB / 412.2 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.3929, allocations: 83.44 kB / 412.3 MB, free: 4.391 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.3929, allocations: 9.922 kB / 412.3 MB, free: 4.383 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.397e-05/0.393, allocations: 1.125 kB / 412.3 MB, free: 4.383 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.3931, allocations: 22.84 kB / 412.3 MB, free: 4.375 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.3931, allocations: 2.203 kB / 412.3 MB, free: 4.375 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.612e-05/0.3931, allocations: 91.77 kB / 412.4 MB, free: 4.293 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3931, allocations: 0 / 412.4 MB, free: 4.293 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003951/0.3935, allocations: 38.38 kB / 412.4 MB, free: 4.285 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,T1,T2) * 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 (8): * Single equations (assignments): 7 * 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: 1 {(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001217/0.3948, allocations: 0.9345 MB / 413.4 MB, free: 3.531 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000641/0.3954, allocations: 305.4 kB / 413.7 MB, free: 3.352 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3954, allocations: 1.344 kB / 413.7 MB, free: 3.352 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.3958, allocations: 230.9 kB / 413.9 MB, free: 3.191 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.396, allocations: 5.312 kB / 413.9 MB, free: 3.188 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.3984, allocations: 0.8947 MB / 414.8 MB, free: 2.637 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.3986, allocations: 0.7056 MB / 415.5 MB, free: 1.938 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.325e-05/0.3986, allocations: 8.438 kB / 415.5 MB, free: 1.934 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.3987, allocations: 24.03 kB / 415.5 MB, free: 1.914 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3987, allocations: 4.969 kB / 415.5 MB, free: 1.91 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.4154, allocations: 3.488 MB / 419 MB, free: 1.531 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.4156, allocations: 318.9 kB / 419.3 MB, free: 1.164 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.354, allocations: 0 / 419.3 MB, free: 1.164 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe 2>&1)