Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.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.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent",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.001169/0.001169, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001249/0.001249, allocations: 193.2 kB / 16.14 MB, free: 6.703 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.246/1.246, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.002497/0.002497, allocations: 0.5582 MB / 290.5 MB, free: 1.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 63.89 kB / 351 MB, free: 2.672 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.077/0.07811, allocations: 49.59 MB / 400.6 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001503/0.07964, allocations: 0.6514 MB / 401.2 MB, free: 396 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001715/0.07983, allocations: 49.88 kB / 401.3 MB, free: 348 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.681e-05/0.07987, allocations: 0 / 401.3 MB, free: 348 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.07989, allocations: 0 / 401.3 MB, free: 348 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.936e-05/0.07996, allocations: 7.938 kB / 401.3 MB, free: 340 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.392e-05/0.08004, allocations: 7.984 kB / 401.3 MB, free: 332 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.219e-05/0.08011, allocations: 51.83 kB / 401.3 MB, free: 280 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.08016, allocations: 0 / 401.3 MB, free: 280 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.993e-05/0.08019, allocations: 27.92 kB / 401.4 MB, free: 252 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.957e-05/0.08026, allocations: 31.83 kB / 401.4 MB, free: 220 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.08029, allocations: 4 kB / 401.4 MB, free: 216 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.592e-05/0.08031, allocations: 4 kB / 401.4 MB, free: 212 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.08033, allocations: 11.98 kB / 401.4 MB, free: 200 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.08037, allocations: 23.86 kB / 401.4 MB, free: 176 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.625e-05/0.08043, allocations: 35.77 kB / 401.5 MB, free: 140 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.08044, allocations: 0 / 401.5 MB, free: 140 kB / 286.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.08045, allocations: 0 / 401.5 MB, free: 140 kB / 286.1 MB Notification: Performance of Transformations before backend: time 2.825e-06/0.08045, allocations: 0 / 401.5 MB, free: 140 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.1308/0.2113, allocations: 375.8 kB / 401.8 MB, free: 10.7 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.2113, allocations: 9.562 kB / 401.8 MB, free: 10.7 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.998e-05/0.2114, allocations: 35.88 kB / 401.9 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.2114, allocations: 9.484 kB / 401.9 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.389e-05/0.2115, allocations: 169.9 kB / 402.1 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.2115, allocations: 6.969 kB / 402.1 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.2115, allocations: 7.875 kB / 402.1 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.2117, allocations: 79.45 kB / 402.2 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.2117, allocations: 5.406 kB / 402.2 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.2117, allocations: 0.5156 kB / 402.2 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.2117, allocations: 1.156 kB / 402.2 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.249e-05/0.2118, allocations: 41.91 kB / 402.2 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.2122, allocations: 308 kB / 402.5 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.2125, allocations: 131.6 kB / 402.6 MB, free: 10.13 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.239e-05/0.2126, allocations: 36.73 kB / 402.7 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.2126, allocations: 3.344 kB / 402.7 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.2126, allocations: 35.34 kB / 402.7 MB, free: 10.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.2126, allocations: 0 / 402.7 MB, free: 10.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003338/0.216, allocations: 0.9269 MB / 403.6 MB, free: 9.789 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.216, allocations: 54.11 kB / 403.7 MB, free: 9.727 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.698e-05/0.2161, allocations: 118.4 kB / 403.8 MB, free: 9.621 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.2161, allocations: 30.12 kB / 403.8 MB, free: 9.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.2161, allocations: 86.16 kB / 403.9 MB, free: 9.504 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.2161, allocations: 61.47 kB / 404 MB, free: 9.465 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.2162, allocations: 35.2 kB / 404 MB, free: 9.449 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.2162, allocations: 323.3 kB / 404.3 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.083e-05/0.2163, allocations: 38.78 kB / 404.4 MB, free: 9.137 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.658e-05/0.2164, allocations: 70.67 kB / 404.4 MB, free: 9.113 MB / 286.1 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 100000.0 (200000.0 = 100000.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.002719/0.2191, allocations: 0.573 MB / 405 MB, free: 8.984 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.2192, allocations: 0 / 405 MB, free: 8.984 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009316/0.2201, allocations: 282.8 kB / 405.3 MB, free: 8.883 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2201, allocations: 6.938 kB / 405.3 MB, free: 8.883 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2201, allocations: 1.156 kB / 405.3 MB, free: 8.883 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009046/0.221, allocations: 158.4 kB / 405.4 MB, free: 8.855 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.2211, allocations: 21.25 kB / 405.5 MB, free: 8.852 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.2233, allocations: 1.791 MB / 407.3 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.643e-05/0.2233, allocations: 2.891 kB / 407.3 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.2234, allocations: 7.219 kB / 407.3 MB, free: 7.301 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: p1 = 100000.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 (13): * Single equations (assignments): 12 * 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 prepare postOptimizeDAE: time 7.267e-05/0.2234, allocations: 127.5 kB / 407.4 MB, free: 7.172 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.2235, allocations: 11.81 kB / 407.4 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.723e-05/0.2235, allocations: 19.22 kB / 407.4 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.2235, allocations: 1.375 kB / 407.4 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2235, allocations: 2.25 kB / 407.4 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2235, allocations: 2.328 kB / 407.4 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.2247, allocations: 0.5664 MB / 408 MB, free: 6.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2247, allocations: 0 / 408 MB, free: 6.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.2248, allocations: 11.19 kB / 408 MB, free: 6.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001923/0.2267, allocations: 290.8 kB / 408.3 MB, free: 6.711 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.2268, allocations: 7.594 kB / 408.3 MB, free: 6.707 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.2288, allocations: 1.799 MB / 410.1 MB, free: 5.164 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.2288, allocations: 0 / 410.1 MB, free: 5.164 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.2298, allocations: 435.7 kB / 410.5 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.2299, allocations: 84.88 kB / 410.6 MB, free: 4.824 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.2299, allocations: 5.797 kB / 410.6 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.23, allocations: 5.641 kB / 410.6 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.23, allocations: 15.31 kB / 410.6 MB, free: 4.816 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.2301, allocations: 5.844 kB / 410.6 MB, free: 4.816 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.921e-05/0.2301, allocations: 87.11 kB / 410.7 MB, free: 4.738 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2301, allocations: 4 kB / 410.7 MB, free: 4.734 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003162/0.2304, allocations: 30.59 kB / 410.7 MB, free: 4.73 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.00113/0.2315, allocations: 0.9602 MB / 411.7 MB, free: 3.957 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000685/0.2322, allocations: 311.6 kB / 412 MB, free: 3.781 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2323, allocations: 1.438 kB / 412 MB, free: 3.781 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004982/0.2328, allocations: 258.4 kB / 412.3 MB, free: 3.617 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.233, allocations: 6.25 kB / 412.3 MB, free: 3.613 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.2357, allocations: 1.98 MB / 414.3 MB, free: 2.105 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.2358, allocations: 0.7024 MB / 415 MB, free: 1.41 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.863e-05/0.2358, allocations: 9.375 kB / 415 MB, free: 1.406 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.2359, allocations: 25.39 kB / 415 MB, free: 1.387 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.2359, allocations: 0 / 415 MB, free: 1.387 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2843/0.5202, allocations: 2.912 MB / 417.9 MB, free: 1.078 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.5204, allocations: 309.7 kB / 418.2 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.184, allocations: 6.688 kB / 418.2 MB, free: 0.6914 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe 2>&1)