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: translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009336/0.0009336, allocations: 98.88 kB / 16.02 MB, free: 72 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.001067/0.001067, allocations: 181.7 kB / 16.92 MB, free: 6.918 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.312 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.002483/0.002483, allocations: 0.5619 MB / 292.6 MB, free: 1.559 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.0003129, allocations: 8 kB / 353.9 MB, free: 2.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2755, allocations: 50.57 MB / 404.5 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.4587/0.7342, allocations: 175.3 MB / 0.5662 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006045/0.7403, allocations: 3.32 MB / 0.5695 GB, free: 1.621 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.7416, allocations: 27.56 kB / 0.5695 GB, free: 1.621 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.7429, allocations: 351.8 kB / 0.5698 GB, free: 1.609 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004928/0.7479, allocations: 1.451 MB / 0.5713 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003186/0.7511, allocations: 0.9894 MB / 0.5722 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004409/0.7555, allocations: 3.44 MB / 0.5756 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.7568, allocations: 0.5121 MB / 0.5761 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002674/0.7595, allocations: 0.8873 MB / 0.577 GB, free: 1.422 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.7615, allocations: 0.7624 MB / 0.5777 GB, free: 1.422 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000343/0.7619, allocations: 43.12 kB / 0.5777 GB, free: 1.422 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002942/0.7648, allocations: 0.9132 MB / 0.5786 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006245/0.7655, allocations: 290.8 kB / 0.5789 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001464/0.767, allocations: 484.1 kB / 0.5794 GB, free: 17.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002761/0.7697, allocations: 1.258 MB / 0.5806 GB, free: 17.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.7698, allocations: 5.094 kB / 0.5806 GB, free: 17.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.7698, allocations: 0 / 0.5806 GB, free: 17.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.535e-05/0.7698, allocations: 2.906 kB / 0.5806 GB, free: 17.28 MB / 446.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.003089/0.7729, allocations: 1.108 MB / 0.5817 GB, free: 16.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.773, allocations: 12.34 kB / 0.5817 GB, free: 16.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.7743, allocations: 160.2 kB / 0.5819 GB, free: 16.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.7755, allocations: 0.5602 MB / 0.5824 GB, free: 16.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.7757, allocations: 182.3 kB / 0.5826 GB, free: 16.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.7759, allocations: 72.97 kB / 0.5826 GB, free: 16.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.7775, allocations: 1.091 MB / 0.5837 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.7776, allocations: 6.812 kB / 0.5837 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.7777, allocations: 38.81 kB / 0.5838 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.424e-05/0.7777, allocations: 39.88 kB / 0.5838 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.7789, allocations: 0.7792 MB / 0.5845 GB, free: 15.86 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.005706/0.7846, allocations: 5.721 MB / 0.5901 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006125/0.7852, allocations: 390 kB / 0.5905 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002979/0.7855, allocations: 223.6 kB / 0.5907 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002505/0.7858, allocations: 263.7 kB / 0.591 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.7858, allocations: 43.39 kB / 0.591 GB, free: 11.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.124e-06/0.7858, allocations: 0 / 0.591 GB, free: 11.5 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.01005/0.7959, allocations: 3.033 MB / 0.594 GB, free: 10.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/0.796, allocations: 110 kB / 0.5941 GB, free: 10.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008677/0.7969, allocations: 0.6858 MB / 0.5948 GB, free: 10.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-05/0.797, allocations: 38.89 kB / 0.5948 GB, free: 10.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.7973, allocations: 459.9 kB / 0.5952 GB, free: 10.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.7975, allocations: 207.8 kB / 0.5954 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.7976, allocations: 89.23 kB / 0.5955 GB, free: 10.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.7978, allocations: 391.8 kB / 0.5959 GB, free: 9.773 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/0.7983, allocations: 282 kB / 0.5962 GB, free: 9.773 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007125/0.799, allocations: 0.7671 MB / 0.5969 GB, free: 9.152 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.8153, allocations: 3.632 MB / 0.6004 GB, free: 8.352 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/0.8153, allocations: 5.906 kB / 0.6005 GB, free: 8.352 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.00217/0.8175, allocations: 1.215 MB / 0.6016 GB, free: 8.246 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.8176, allocations: 13.12 kB / 0.6017 GB, free: 8.246 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.087e-05/0.8176, allocations: 21.38 kB / 0.6017 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.8186, allocations: 290.3 kB / 0.6019 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005905/0.8193, allocations: 207.1 kB / 0.6021 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009689/0.8202, allocations: 0.9223 MB / 0.603 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008684/0.8211, allocations: 69.33 kB / 0.6031 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.8213, allocations: 102.1 kB / 0.6032 GB, free: 7.688 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 sytem: 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.0005171/0.8218, allocations: 290.1 kB / 0.6035 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.822, allocations: 83.98 kB / 0.6036 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.8243, allocations: 1.198 MB / 0.6047 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.8243, allocations: 6.219 kB / 0.6047 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.8244, allocations: 0 / 0.6047 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.8244, allocations: 7.047 kB / 0.6047 GB, free: 7.359 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.003085/0.8275, allocations: 1.982 MB / 0.6067 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.8275, allocations: 0 / 0.6067 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.8278, allocations: 96.95 kB / 0.6068 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001637/0.8294, allocations: 303 kB / 0.6071 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.721e-05/0.8295, allocations: 31.98 kB / 0.6071 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000987/0.8305, allocations: 0.846 MB / 0.6079 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.8305, allocations: 7 kB / 0.6079 GB, free: 5.883 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.8326, allocations: 1.129 MB / 0.609 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005736/0.8332, allocations: 227.7 kB / 0.6093 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/0.8334, allocations: 12.94 kB / 0.6093 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006986/0.8341, allocations: 42.97 kB / 0.6093 GB, free: 5.328 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.8342, allocations: 55.53 kB / 0.6094 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/0.8344, allocations: 63.91 kB / 0.6094 GB, free: 5.301 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007304/0.8351, allocations: 476.3 kB / 0.6099 GB, free: 5.137 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.8351, allocations: 0 / 0.6099 GB, free: 5.137 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001568/0.8367, allocations: 352.2 kB / 0.6102 GB, free: 5.105 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 {(4,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001327/0.838, allocations: 391.3 kB / 0.6106 GB, free: 4.926 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.8397, allocations: 0.7757 MB / 0.6113 GB, free: 4.816 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.8397, allocations: 1.859 kB / 0.6113 GB, free: 4.816 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007357/0.8404, allocations: 344 kB / 0.6117 GB, free: 4.758 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.8428, allocations: 398.6 kB / 0.612 GB, free: 4.637 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.8457, allocations: 2.039 MB / 0.614 GB, free: 3.371 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006068/0.8463, allocations: 0.9842 MB / 0.615 GB, free: 2.555 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005581/0.8469, allocations: 164.5 kB / 0.6152 GB, free: 2.508 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.8469, allocations: 0 / 0.6152 GB, free: 2.508 MB / 446.1 MB Notification: Performance of Templates: time 0.02636/0.8733, allocations: 18.38 MB / 0.6331 GB, free: 2.523 MB / 462.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.makefile (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 & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe 2>&1)