Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.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+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/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.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",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.001294/0.001294, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001378/0.001378, allocations: 196.7 kB / 16.26 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002605/0.002605, allocations: 0.5691 MB / 290.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.91 kB / 351.2 MB, free: 2.582 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1051, allocations: 49.59 MB / 400.8 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature): time 0.001718/0.1069, allocations: 0.6435 MB / 401.4 MB, free: 316 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002082/0.1071, allocations: 55.8 kB / 401.5 MB, free: 260 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.564e-05/0.1071, allocations: 0 / 401.5 MB, free: 260 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.1071, allocations: 0 / 401.5 MB, free: 260 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.273e-05/0.1072, allocations: 3.938 kB / 401.5 MB, free: 256 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001001/0.1073, allocations: 15.97 kB / 401.5 MB, free: 240 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.003e-05/0.1074, allocations: 43.84 kB / 401.5 MB, free: 196 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.1075, allocations: 4 kB / 401.5 MB, free: 192 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.413e-05/0.1075, allocations: 23.92 kB / 401.5 MB, free: 168 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.932e-05/0.1076, allocations: 35.81 kB / 401.6 MB, free: 132 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.1076, allocations: 8 kB / 401.6 MB, free: 124 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.1076, allocations: 4 kB / 401.6 MB, free: 120 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.1077, allocations: 8 kB / 401.6 MB, free: 112 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.1077, allocations: 23.8 kB / 401.6 MB, free: 88 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.053e-05/0.1078, allocations: 39.81 kB / 401.7 MB, free: 48 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1078, allocations: 0 / 401.7 MB, free: 48 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1078, allocations: 0 / 401.7 MB, free: 48 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.82e-06/0.1078, allocations: 0 / 401.7 MB, free: 48 kB / 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.1711/0.2789, allocations: 373.8 kB / 402 MB, free: 10.64 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.2789, allocations: 13.3 kB / 402 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.279, allocations: 38.39 kB / 402.1 MB, free: 10.6 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.279, allocations: 8.531 kB / 402.1 MB, free: 10.6 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.2792, allocations: 172.7 kB / 402.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.2792, allocations: 9.266 kB / 402.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.2792, allocations: 10.31 kB / 402.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.2794, allocations: 71.58 kB / 402.3 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2794, allocations: 7.219 kB / 402.3 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.2794, allocations: 1.469 kB / 402.3 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.2794, allocations: 5.656 kB / 402.4 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.288e-05/0.2795, allocations: 37.09 kB / 402.4 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.28, allocations: 306.2 kB / 402.7 MB, free: 10.09 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.2803, allocations: 126 kB / 402.8 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.524e-05/0.2804, allocations: 35.91 kB / 402.8 MB, free: 10.06 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.2804, allocations: 2 kB / 402.8 MB, free: 10.06 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.2804, allocations: 39.81 kB / 402.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.2804, allocations: 0.6562 kB / 402.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.00277/0.2832, allocations: 0.7844 MB / 403.7 MB, free: 9.73 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.2833, allocations: 54.22 kB / 403.7 MB, free: 9.668 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.519e-05/0.2833, allocations: 113.2 kB / 403.8 MB, free: 9.566 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.2834, allocations: 30.02 kB / 403.9 MB, free: 9.535 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.2834, allocations: 92.58 kB / 404 MB, free: 9.449 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.2835, allocations: 63.17 kB / 404 MB, free: 9.406 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.2835, allocations: 41.55 kB / 404.1 MB, free: 9.391 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.827e-05/0.2836, allocations: 320.5 kB / 404.4 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.442e-05/0.2837, allocations: 41.95 kB / 404.4 MB, free: 9.078 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.2838, allocations: 66.88 kB / 404.5 MB, free: 9.059 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/0.2864, allocations: 0.5646 MB / 405 MB, free: 8.926 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2864, allocations: 2.062 kB / 405 MB, free: 8.926 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001586/0.288, allocations: 377.1 kB / 405.4 MB, free: 8.797 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.288, allocations: 9.562 kB / 405.4 MB, free: 8.793 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.2881, allocations: 1.125 kB / 405.4 MB, free: 8.793 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001845/0.2899, allocations: 282.7 kB / 405.7 MB, free: 8.762 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.579e-05/0.29, allocations: 10.88 kB / 405.7 MB, free: 8.762 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003738/0.2937, allocations: 2.383 MB / 408.1 MB, free: 6.895 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.428e-05/0.2938, allocations: 5.25 kB / 408.1 MB, free: 6.891 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.2938, allocations: 4.594 kB / 408.1 MB, free: 6.891 MB / 286.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.p2 = 0.0. 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001854/0.294, allocations: 127.8 kB / 408.2 MB, free: 6.762 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.2941, allocations: 9.938 kB / 408.2 MB, free: 6.758 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.2941, allocations: 19.53 kB / 408.3 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2941, allocations: 1.812 kB / 408.3 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.2941, allocations: 1.875 kB / 408.3 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2942, allocations: 0.9375 kB / 408.3 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.2954, allocations: 0.57 MB / 408.8 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2954, allocations: 3.938 kB / 408.8 MB, free: 6.336 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.503e-05/0.2955, allocations: 11.42 kB / 408.8 MB, free: 6.336 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001961/0.2975, allocations: 293 kB / 409.1 MB, free: 6.297 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.2975, allocations: 6 kB / 409.1 MB, free: 6.293 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002323/0.2998, allocations: 1.974 MB / 411.1 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2998, allocations: 1.062 kB / 411.1 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.3009, allocations: 437.5 kB / 411.5 MB, free: 4.34 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.301, allocations: 88.45 kB / 411.6 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.301, allocations: 8.031 kB / 411.6 MB, free: 4.238 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.3011, allocations: 11.09 kB / 411.6 MB, free: 4.23 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.3012, allocations: 10.84 kB / 411.7 MB, free: 4.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.3012, allocations: 13.92 kB / 411.7 MB, free: 4.223 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.719e-05/0.3012, allocations: 84.42 kB / 411.8 MB, free: 4.148 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3012, allocations: 0 / 411.8 MB, free: 4.148 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003559/0.3016, allocations: 39.78 kB / 411.8 MB, free: 4.141 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (p2,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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001287/0.3029, allocations: 0.9623 MB / 412.8 MB, free: 3.363 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007033/0.3036, allocations: 317.2 kB / 413.1 MB, free: 3.18 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3036, allocations: 1.562 kB / 413.1 MB, free: 3.18 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005415/0.3042, allocations: 252.2 kB / 413.3 MB, free: 3.02 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.3044, allocations: 20.66 kB / 413.3 MB, free: 3.004 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/0.3086, allocations: 2.162 MB / 415.5 MB, free: 1.453 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.3088, allocations: 0.7028 MB / 416.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.99e-05/0.3089, allocations: 6.688 kB / 416.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.3089, allocations: 24.44 kB / 416.2 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3089, allocations: 0 / 416.2 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.3348, allocations: 3.892 MB / 420.1 MB, free: 160 kB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.335, allocations: 335.8 kB / 420.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.139, allocations: 1.094 kB / 420.4 MB, free: 15.77 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe 2>&1)