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+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.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.001084/0.001084, 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.001086/0.001086, allocations: 190.9 kB / 16.25 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.316/1.316, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.002653/0.002653, allocations: 0.5659 MB / 290.6 MB, free: 1.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 59.91 kB / 351.2 MB, free: 2.531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1114, allocations: 49.6 MB / 400.8 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature): time 0.001833/0.1132, allocations: 0.6378 MB / 401.4 MB, free: 260 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002124/0.1135, allocations: 47.8 kB / 401.4 MB, free: 212 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.1135, allocations: 0 / 401.4 MB, free: 212 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.1136, allocations: 4 kB / 401.4 MB, free: 208 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.156e-05/0.1136, allocations: 3.938 kB / 401.5 MB, free: 204 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001022/0.1138, allocations: 15.91 kB / 401.5 MB, free: 188 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.526e-05/0.1138, allocations: 51.84 kB / 401.5 MB, free: 136 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.14e-05/0.1139, allocations: 7.984 kB / 401.5 MB, free: 128 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.927e-05/0.114, allocations: 15.94 kB / 401.5 MB, free: 112 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.446e-05/0.114, allocations: 35.81 kB / 401.6 MB, free: 76 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1141, allocations: 8 kB / 401.6 MB, free: 68 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.398e-05/0.1141, allocations: 4 kB / 401.6 MB, free: 64 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.1141, allocations: 7.984 kB / 401.6 MB, free: 56 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.1141, allocations: 27.81 kB / 401.6 MB, free: 28 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1862/0.3004, allocations: 30.38 kB / 401.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.3005, allocations: 0.5 kB / 401.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.3005, allocations: 0 / 401.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.3005, allocations: 0.5 kB / 401.7 MB, free: 10.34 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.0005547/0.3011, allocations: 374.4 kB / 402 MB, free: 9.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.3011, allocations: 13.77 kB / 402 MB, free: 9.977 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.3012, allocations: 36.61 kB / 402.1 MB, free: 9.938 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.3012, allocations: 8.594 kB / 402.1 MB, free: 9.934 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.3013, allocations: 174.9 kB / 402.2 MB, free: 9.73 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.3013, allocations: 5.469 kB / 402.3 MB, free: 9.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.3014, allocations: 9.578 kB / 402.3 MB, free: 9.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.3015, allocations: 70.61 kB / 402.3 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3015, allocations: 3.938 kB / 402.3 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.3015, allocations: 4.344 kB / 402.3 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3016, allocations: 5.641 kB / 402.3 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.31e-05/0.3017, allocations: 34.53 kB / 402.4 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.3021, allocations: 313.6 kB / 402.7 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.3024, allocations: 106.1 kB / 402.8 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.282e-05/0.3025, allocations: 36.5 kB / 402.8 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.3025, allocations: 1.344 kB / 402.8 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.3025, allocations: 36.72 kB / 402.9 MB, free: 9.352 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.3026, allocations: 0.5312 kB / 402.9 MB, free: 9.352 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0027/0.3053, allocations: 0.753 MB / 403.6 MB, free: 9.07 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.3053, allocations: 53.28 kB / 403.7 MB, free: 9.008 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.326e-05/0.3054, allocations: 109.9 kB / 403.8 MB, free: 8.91 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.3054, allocations: 26.33 kB / 403.8 MB, free: 8.879 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.3054, allocations: 94.39 kB / 403.9 MB, free: 8.789 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.3055, allocations: 56.36 kB / 403.9 MB, free: 8.758 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.3056, allocations: 34.42 kB / 404 MB, free: 8.742 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.991e-05/0.3056, allocations: 323.6 kB / 404.3 MB, free: 8.426 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.3057, allocations: 45.19 kB / 404.3 MB, free: 8.422 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.735e-05/0.3058, allocations: 58.58 kB / 404.4 MB, free: 8.406 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.306, allocations: 114.2 kB / 404.5 MB, free: 8.387 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.306, allocations: 1.094 kB / 404.5 MB, free: 8.387 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001531/0.3075, allocations: 354.9 kB / 404.9 MB, free: 8.316 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.3075, allocations: 12.22 kB / 404.9 MB, free: 8.312 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3075, allocations: 1.188 kB / 404.9 MB, free: 8.312 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/0.3093, allocations: 270.8 kB / 405.1 MB, free: 8.297 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.253e-05/0.3093, allocations: 8.859 kB / 405.1 MB, free: 8.297 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00353/0.3129, allocations: 2.336 MB / 407.5 MB, free: 6.512 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.409e-05/0.313, allocations: 5.031 kB / 407.5 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.313, allocations: 4.5 kB / 407.5 MB, free: 6.508 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 (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,10)} Notification: Performance of prepare postOptimizeDAE: time 8.849e-05/0.3131, allocations: 118.6 kB / 407.6 MB, free: 6.387 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.3131, allocations: 11.69 kB / 407.6 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/0.3132, allocations: 22.69 kB / 407.6 MB, free: 6.359 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3132, allocations: 5.422 kB / 407.6 MB, free: 6.359 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.3132, allocations: 2.344 kB / 407.6 MB, free: 6.359 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3132, allocations: 1.219 kB / 407.6 MB, free: 6.359 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.3134, allocations: 193.8 kB / 407.8 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3134, allocations: 3.938 kB / 407.8 MB, free: 6.152 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.112e-05/0.3135, allocations: 9.297 kB / 407.8 MB, free: 6.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001811/0.3153, allocations: 280.6 kB / 408.1 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.3153, allocations: 1.594 kB / 408.1 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/0.3172, allocations: 1.94 MB / 410.1 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3172, allocations: 0 / 410.1 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.3182, allocations: 411.8 kB / 410.5 MB, free: 4.188 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.3183, allocations: 86.61 kB / 410.6 MB, free: 4.086 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3183, allocations: 11.03 kB / 410.6 MB, free: 4.078 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.3184, allocations: 1.094 kB / 410.6 MB, free: 4.078 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.3185, allocations: 15.25 kB / 410.6 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.3185, allocations: 8.688 kB / 410.6 MB, free: 4.07 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.588e-05/0.3185, allocations: 84.64 kB / 410.7 MB, free: 3.996 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3185, allocations: 0 / 410.7 MB, free: 3.996 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003837/0.3189, allocations: 37.72 kB / 410.7 MB, free: 3.988 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 (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 {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001222/0.3201, allocations: 0.9355 MB / 411.6 MB, free: 3.227 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006872/0.3208, allocations: 303.9 kB / 411.9 MB, free: 3.051 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3209, allocations: 0 / 411.9 MB, free: 3.051 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.3212, allocations: 233.3 kB / 412.2 MB, free: 2.891 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.3214, allocations: 12.59 kB / 412.2 MB, free: 2.883 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004086/0.3255, allocations: 2.073 MB / 414.3 MB, free: 1.387 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.3257, allocations: 0.7052 MB / 415 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.223e-05/0.3258, allocations: 4.141 kB / 415 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.3258, allocations: 29.06 kB / 415 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3258, allocations: 0 / 415 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04313/0.369, allocations: 3.81 MB / 418.8 MB, free: 208 kB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/0.3693, allocations: 338.8 kB / 419.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.239, allocations: 0 / 419.1 MB, free: 15.82 MB / 302.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/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)