Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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) 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) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 102.5 kB / 289.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002758/0.002758, allocations: 0.5636 MB / 340.6 MB, free: 8.227 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009742/0.0009744, allocations: 59.66 kB / 400.9 MB, free: 66.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06608/0.06707, allocations: 49.6 MB / 450.5 MB, free: 16.48 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.3359/0.4031, allocations: 177.6 MB / 0.6135 GB, free: 6.727 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005323/0.4084, allocations: 3.358 MB / 0.6167 GB, free: 3.363 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007718/0.4092, allocations: 31.75 kB / 0.6168 GB, free: 3.332 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009573/0.4102, allocations: 350.1 kB / 0.6171 GB, free: 2.988 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003446/0.4137, allocations: 1.443 MB / 0.6185 GB, free: 1.543 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002402/0.4161, allocations: 1.003 MB / 0.6195 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00315/0.4193, allocations: 3.445 MB / 0.6229 GB, free: 13.09 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007859/0.4201, allocations: 0.5131 MB / 0.6234 GB, free: 12.57 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0016/0.4217, allocations: 0.8991 MB / 0.6242 GB, free: 11.67 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009291/0.4226, allocations: 0.7746 MB / 0.625 GB, free: 10.89 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.4228, allocations: 44 kB / 0.625 GB, free: 10.85 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.4247, allocations: 0.9086 MB / 0.6259 GB, free: 9.938 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003152/0.4251, allocations: 291.1 kB / 0.6262 GB, free: 9.652 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004872/0.4256, allocations: 457.8 kB / 0.6266 GB, free: 9.203 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.4275, allocations: 1.718 MB / 0.6283 GB, free: 7.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4276, allocations: 0 / 0.6283 GB, free: 7.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.4276, allocations: 0 / 0.6283 GB, free: 7.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.4276, allocations: 0 / 0.6283 GB, free: 7.48 MB / 442.7 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.002351/0.4299, allocations: 1.294 MB / 0.6296 GB, free: 6.137 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.43, allocations: 16.02 kB / 0.6296 GB, free: 6.121 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009756/0.431, allocations: 166.8 kB / 0.6298 GB, free: 5.957 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008945/0.4319, allocations: 0.5625 MB / 0.6303 GB, free: 5.352 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.432, allocations: 181.7 kB / 0.6305 GB, free: 5.148 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.4322, allocations: 71.91 kB / 0.6305 GB, free: 5.078 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.4336, allocations: 1.09 MB / 0.6316 GB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.4337, allocations: 7.938 kB / 0.6316 GB, free: 3.879 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.888e-05/0.4338, allocations: 32 kB / 0.6316 GB, free: 3.848 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.25e-05/0.4338, allocations: 37.3 kB / 0.6317 GB, free: 3.812 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.435, allocations: 0.7893 MB / 0.6325 GB, free: 3.023 MB / 442.7 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.1693/0.6043, allocations: 5.705 MB / 0.638 GB, free: 162.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006785/0.605, allocations: 392.2 kB / 0.6384 GB, free: 162.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.6053, allocations: 221.7 kB / 0.6386 GB, free: 162.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.6055, allocations: 265 kB / 0.6389 GB, free: 162.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.6056, allocations: 42.53 kB / 0.6389 GB, free: 162.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 2.094e-06/0.6056, allocations: 0 / 0.6389 GB, free: 162.1 MB / 442.7 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.009565/0.6151, allocations: 3.009 MB / 0.6418 GB, free: 161 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.6152, allocations: 110 kB / 0.6419 GB, free: 160.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007204/0.6159, allocations: 0.6776 MB / 0.6426 GB, free: 160.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.616, allocations: 37.83 kB / 0.6426 GB, free: 160.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.6162, allocations: 461.1 kB / 0.6431 GB, free: 160.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.6164, allocations: 206.8 kB / 0.6433 GB, free: 160 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.6166, allocations: 229 kB / 0.6435 GB, free: 159.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.556e-05/0.6167, allocations: 390.9 kB / 0.6439 GB, free: 159.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/0.6172, allocations: 280.9 kB / 0.6441 GB, free: 159.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006038/0.6178, allocations: 0.7706 MB / 0.6449 GB, free: 158.7 MB / 442.7 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.0153/0.6331, allocations: 3.306 MB / 0.6481 GB, free: 157.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.078e-05/0.6332, allocations: 5.688 kB / 0.6481 GB, free: 157.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002182/0.6353, allocations: 1.215 MB / 0.6493 GB, free: 157.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.6354, allocations: 16.69 kB / 0.6493 GB, free: 157.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-05/0.6354, allocations: 20.31 kB / 0.6493 GB, free: 157 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009065/0.6363, allocations: 271.8 kB / 0.6496 GB, free: 157 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006105/0.637, allocations: 206 kB / 0.6498 GB, free: 157 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008061/0.6378, allocations: 0.9041 MB / 0.6507 GB, free: 156.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008065/0.6386, allocations: 71.62 kB / 0.6508 GB, free: 156.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.6388, allocations: 96.28 kB / 0.6508 GB, free: 156.3 MB / 442.7 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.0004673/0.6392, allocations: 294.6 kB / 0.6511 GB, free: 156.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.6394, allocations: 75.88 kB / 0.6512 GB, free: 156 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/0.6418, allocations: 1.214 MB / 0.6524 GB, free: 155.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.6419, allocations: 6.531 kB / 0.6524 GB, free: 155.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6419, allocations: 0 / 0.6524 GB, free: 155.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.6419, allocations: 11.73 kB / 0.6524 GB, free: 155.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00308/0.645, allocations: 1.993 MB / 0.6544 GB, free: 154.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.645, allocations: 2.141 kB / 0.6544 GB, free: 154.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.6453, allocations: 93.67 kB / 0.6544 GB, free: 154.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/0.6468, allocations: 279.5 kB / 0.6547 GB, free: 154 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.001e-05/0.6469, allocations: 36.52 kB / 0.6547 GB, free: 154 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.6479, allocations: 0.8374 MB / 0.6556 GB, free: 153.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.6479, allocations: 0 / 0.6556 GB, free: 153.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04309/0.691, allocations: 10.97 MB / 0.6663 GB, free: 144.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004226/0.6915, allocations: 220.2 kB / 0.6665 GB, free: 143.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.6916, allocations: 15.94 kB / 0.6665 GB, free: 143.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000594/0.6922, allocations: 43.97 kB / 0.6665 GB, free: 143.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.776e-05/0.6923, allocations: 44.52 kB / 0.6666 GB, free: 143.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.818e-05/0.6924, allocations: 67.97 kB / 0.6666 GB, free: 143.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004999/0.6929, allocations: 471 kB / 0.6671 GB, free: 143.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-07/0.6929, allocations: 0 / 0.6671 GB, free: 143.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002045/0.695, allocations: 0.6444 MB / 0.6677 GB, free: 142.7 MB / 442.7 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.001901/0.6969, allocations: 449 kB / 0.6682 GB, free: 142.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.6984, allocations: 0.7792 MB / 0.6689 GB, free: 141.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.6984, allocations: 0 / 0.6689 GB, free: 141.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007429/0.6991, allocations: 351.9 kB / 0.6693 GB, free: 141.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/0.7012, allocations: 393.2 kB / 0.6696 GB, free: 140.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.7049, allocations: 2.563 MB / 0.6721 GB, free: 138.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.7053, allocations: 1.011 MB / 0.6731 GB, free: 137.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002077/0.7074, allocations: 0.6757 MB / 0.6738 GB, free: 136.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007098/0.7081, allocations: 191.3 kB / 0.674 GB, free: 136.3 MB / 442.7 MB Notification: Performance of SimCode: time 6.42e-07/0.7082, allocations: 0 / 0.674 GB, free: 136.3 MB / 442.7 MB Notification: Performance of Templates: time 0.04506/0.7532, allocations: 35.35 MB / 0.7085 GB, free: 101.2 MB / 442.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe 2>&1)