Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.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.TwoVolumesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent",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.001179/0.001179, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 185 kB / 16.62 MB, free: 6.613 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.341/1.341, allocations: 222.9 MB / 240.3 MB, free: 4.332 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.002813/0.002813, allocations: 0.5741 MB / 291.1 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 55.91 kB / 351.8 MB, free: 2.086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1089, allocations: 49.6 MB / 401.4 MB, free: 456 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.6322/0.7411, allocations: 179.3 MB / 0.5671 GB, free: 1.594 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005968/0.7471, allocations: 3.178 MB / 0.5702 GB, free: 1.539 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.7484, allocations: 23 kB / 0.5703 GB, free: 1.539 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.75, allocations: 401.4 kB / 0.5706 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005716/0.7557, allocations: 1.59 MB / 0.5722 GB, free: 1.469 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003805/0.7596, allocations: 1.107 MB / 0.5733 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005181/0.7648, allocations: 2.419 MB / 0.5756 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.7662, allocations: 0.5924 MB / 0.5762 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003113/0.7693, allocations: 0.9999 MB / 0.5772 GB, free: 1.383 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002015/0.7714, allocations: 0.7345 MB / 0.5779 GB, free: 1.379 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002589/0.7716, allocations: 79.75 kB / 0.578 GB, free: 1.379 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.775, allocations: 1.022 MB / 0.579 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004293/0.7754, allocations: 324.9 kB / 0.5793 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009179/0.7763, allocations: 494.4 kB / 0.5798 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003367/0.7797, allocations: 1.741 MB / 0.5815 GB, free: 1.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.7797, allocations: 3.375 kB / 0.5815 GB, free: 1.266 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.7798, allocations: 1.062 kB / 0.5815 GB, free: 1.266 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.351e-05/0.7798, allocations: 0 / 0.5815 GB, free: 1.266 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.003096/0.7829, allocations: 1.301 MB / 0.5827 GB, free: 16.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.7829, allocations: 11.25 kB / 0.5828 GB, free: 16.6 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/0.7831, allocations: 123.3 kB / 0.5829 GB, free: 16.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.7843, allocations: 167.4 kB / 0.583 GB, free: 16.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009326/0.7852, allocations: 0.5902 MB / 0.5836 GB, free: 16.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.7854, allocations: 176.5 kB / 0.5838 GB, free: 16.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.7855, allocations: 73.03 kB / 0.5838 GB, free: 16.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.787, allocations: 1.09 MB / 0.5849 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.7871, allocations: 6.969 kB / 0.5849 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.866e-05/0.7872, allocations: 36.84 kB / 0.585 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.988e-05/0.7872, allocations: 33.45 kB / 0.585 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.7884, allocations: 0.7867 MB / 0.5858 GB, free: 15.8 MB / 446.1 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.006244/0.7947, allocations: 5.717 MB / 0.5913 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006706/0.7954, allocations: 388.7 kB / 0.5917 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.7957, allocations: 217.9 kB / 0.5919 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/0.7959, allocations: 267 kB / 0.5922 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.796, allocations: 47.34 kB / 0.5922 GB, free: 11.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.384e-06/0.796, allocations: 0 / 0.5922 GB, free: 11.47 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: V1.medium.T 2: V2.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=55): time 0.009925/0.8059, allocations: 2.987 MB / 0.5951 GB, free: 10.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/0.806, allocations: 114.2 kB / 0.5952 GB, free: 10.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000846/0.8069, allocations: 0.6837 MB / 0.5959 GB, free: 10.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.745e-05/0.807, allocations: 37.2 kB / 0.5959 GB, free: 10.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/0.8073, allocations: 457.3 kB / 0.5964 GB, free: 10.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.8075, allocations: 208.9 kB / 0.5966 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000352/0.8079, allocations: 234.6 kB / 0.5968 GB, free: 10.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.8081, allocations: 388.2 kB / 0.5972 GB, free: 9.773 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004645/0.8086, allocations: 278.8 kB / 0.5974 GB, free: 9.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007917/0.8094, allocations: 0.7704 MB / 0.5982 GB, free: 9.164 MB / 446.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: V1.medium.p = V1.p_start (V2.p_start = V1.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01626/0.8256, allocations: 3.304 MB / 0.6014 GB, free: 8.465 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-05/0.8257, allocations: 5.5 kB / 0.6014 GB, free: 8.465 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002178/0.8279, allocations: 1.221 MB / 0.6026 GB, free: 8.375 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.8279, allocations: 12.36 kB / 0.6026 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.828, allocations: 20.12 kB / 0.6026 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00088/0.8289, allocations: 264.6 kB / 0.6029 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005806/0.8295, allocations: 215.3 kB / 0.6031 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000936/0.8304, allocations: 0.9049 MB / 0.604 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008238/0.8312, allocations: 39.86 kB / 0.604 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.8314, allocations: 98.78 kB / 0.6041 GB, free: 7.84 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: V1.medium.p = V1.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 8 (V1.regularFlow[1],V1.regularFlow[2],V2.regularFlow[1],V2.regularFlow[2],V2.inFlow[2],V2.inFlow[1],V1.inFlow[2],V1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 112 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000547/0.8319, allocations: 293.9 kB / 0.6044 GB, free: 7.715 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.8321, allocations: 84.05 kB / 0.6045 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.8344, allocations: 1.199 MB / 0.6056 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.8344, allocations: 6.375 kB / 0.6057 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.8344, allocations: 2.172 kB / 0.6057 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.8344, allocations: 4.328 kB / 0.6057 GB, free: 7.551 MB / 446.1 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 postOpt removeSimpleEquations (simulation): time 0.003159/0.8376, allocations: 1.986 MB / 0.6076 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.8376, allocations: 2.562 kB / 0.6076 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.8379, allocations: 94.33 kB / 0.6077 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001396/0.8393, allocations: 294.1 kB / 0.608 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.814e-05/0.8394, allocations: 32.5 kB / 0.608 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008449/0.8403, allocations: 0.8388 MB / 0.6088 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8403, allocations: 6.828 kB / 0.6088 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.8421, allocations: 1.124 MB / 0.6099 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/0.8425, allocations: 214.3 kB / 0.6101 GB, free: 5.883 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.8426, allocations: 15.58 kB / 0.6101 GB, free: 5.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/0.8431, allocations: 28.23 kB / 0.6102 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.442e-05/0.8432, allocations: 54.84 kB / 0.6102 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.378e-05/0.8433, allocations: 59.25 kB / 0.6103 GB, free: 5.875 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006397/0.8439, allocations: 476.1 kB / 0.6107 GB, free: 5.781 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.844, allocations: 0 / 0.6107 GB, free: 5.781 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001319/0.8453, allocations: 349.4 kB / 0.6111 GB, free: 5.758 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (V1.medium.T,V2.medium.p,V2.medium.T) * 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 (44): * Single equations (assignments): 43 * 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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003291/0.8486, allocations: 1.958 MB / 0.613 GB, free: 4.922 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.8507, allocations: 0.7988 MB / 0.6138 GB, free: 4.879 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/0.8507, allocations: 3.859 kB / 0.6138 GB, free: 4.875 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000864/0.8516, allocations: 343.4 kB / 0.6141 GB, free: 4.824 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/0.8536, allocations: 410.6 kB / 0.6145 GB, free: 4.672 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.8638, allocations: 7.49 MB / 0.6218 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.8644, allocations: 0.9924 MB / 0.6228 GB, free: 13.28 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001398/0.8658, allocations: 0.5825 MB / 0.6233 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004886/0.8663, allocations: 347.3 kB / 0.6237 GB, free: 12.56 MB / 462.1 MB Notification: Performance of SimCode: time 1.132e-06/0.8663, allocations: 0 / 0.6237 GB, free: 12.56 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06253/0.9288, allocations: 28.72 MB / 0.6517 GB, free: 328 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/14.01, allocations: 19.06 kB / 0.6517 GB, free: 312 kB / 478.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe 2>&1)