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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01083/0.01083, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.568/1.568, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.003685/0.003685, allocations: 0.5539 MB / 292 MB, free: 1.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003571, allocations: 8.281 kB / 353.3 MB, free: 2.496 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4167, allocations: 50.57 MB / 403.9 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.4921/0.9089, allocations: 175.3 MB / 0.5656 GB, free: 1.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00622/0.9151, allocations: 3.32 MB / 0.5688 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.9164, allocations: 27.28 kB / 0.5688 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.9178, allocations: 355.2 kB / 0.5692 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006236/0.9241, allocations: 1.454 MB / 0.5706 GB, free: 1.613 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004163/0.9282, allocations: 0.989 MB / 0.5716 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005042/0.9333, allocations: 3.436 MB / 0.5749 GB, free: 1.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.9345, allocations: 0.5197 MB / 0.5754 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00275/0.9373, allocations: 0.8894 MB / 0.5763 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.939, allocations: 0.7607 MB / 0.577 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.9392, allocations: 42.09 kB / 0.5771 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003405/0.9426, allocations: 0.9082 MB / 0.578 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004619/0.9431, allocations: 294.1 kB / 0.5783 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.9443, allocations: 488.6 kB / 0.5787 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004592/0.9489, allocations: 1.686 MB / 0.5804 GB, free: 1.359 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.9489, allocations: 0 / 0.5804 GB, free: 1.359 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.596e-06/0.9489, allocations: 1.859 kB / 0.5804 GB, free: 1.359 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.9489, allocations: 0 / 0.5804 GB, free: 1.359 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.003223/0.9521, allocations: 1.108 MB / 0.5815 GB, free: 16.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.9522, allocations: 9.375 kB / 0.5815 GB, free: 16.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.9532, allocations: 164 kB / 0.5816 GB, free: 16.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008454/0.9541, allocations: 0.5612 MB / 0.5822 GB, free: 16.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.9543, allocations: 177.4 kB / 0.5823 GB, free: 16.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.9544, allocations: 78.31 kB / 0.5824 GB, free: 16.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.9559, allocations: 1.094 MB / 0.5835 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.956, allocations: 10.28 kB / 0.5835 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.603e-05/0.9561, allocations: 34.17 kB / 0.5835 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.095e-05/0.9561, allocations: 30.61 kB / 0.5836 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.9573, allocations: 0.7912 MB / 0.5843 GB, free: 15.94 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.006108/0.9634, allocations: 5.707 MB / 0.5899 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006006/0.964, allocations: 396.1 kB / 0.5903 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.9643, allocations: 225.1 kB / 0.5905 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.9645, allocations: 269.2 kB / 0.5907 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.9646, allocations: 37.09 kB / 0.5908 GB, free: 11.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.004e-06/0.9646, allocations: 3.594 kB / 0.5908 GB, free: 11.57 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.009252/0.9738, allocations: 3.028 MB / 0.5937 GB, free: 10.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.9739, allocations: 109.4 kB / 0.5938 GB, free: 10.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007541/0.9747, allocations: 0.6891 MB / 0.5945 GB, free: 10.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.648e-05/0.9747, allocations: 35.98 kB / 0.5946 GB, free: 10.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.9751, allocations: 458.3 kB / 0.595 GB, free: 10.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.9752, allocations: 214.1 kB / 0.5952 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.9753, allocations: 91.48 kB / 0.5953 GB, free: 10.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.9755, allocations: 391.2 kB / 0.5957 GB, free: 9.852 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.9759, allocations: 277.9 kB / 0.5959 GB, free: 9.852 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007639/0.9767, allocations: 0.7718 MB / 0.5967 GB, free: 9.23 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.01557/0.9923, allocations: 3.629 MB / 0.6002 GB, free: 8.426 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.9923, allocations: 5.156 kB / 0.6002 GB, free: 8.426 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.00187/0.9942, allocations: 1.22 MB / 0.6014 GB, free: 8.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.9942, allocations: 12.91 kB / 0.6014 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.9943, allocations: 17.34 kB / 0.6014 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009266/0.9952, allocations: 281.7 kB / 0.6017 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/0.9957, allocations: 211.4 kB / 0.6019 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009035/0.9966, allocations: 0.9248 MB / 0.6028 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007871/0.9974, allocations: 65.2 kB / 0.6029 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.9976, allocations: 100.4 kB / 0.603 GB, free: 7.77 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.0004729/0.998, allocations: 290.3 kB / 0.6032 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.9982, allocations: 81.28 kB / 0.6033 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/1, allocations: 1.205 MB / 0.6045 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1, allocations: 6.125 kB / 0.6045 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1, allocations: 0 / 0.6045 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/1, allocations: 5.25 kB / 0.6045 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/1.003, allocations: 1.985 MB / 0.6065 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.003, allocations: 3.594 kB / 0.6065 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/1.004, allocations: 90.58 kB / 0.6065 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001557/1.005, allocations: 300.2 kB / 0.6068 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/1.005, allocations: 36.7 kB / 0.6069 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/1.006, allocations: 0.8517 MB / 0.6077 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.006, allocations: 0 / 0.6077 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/1.009, allocations: 1.126 MB / 0.6088 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007652/1.01, allocations: 230.6 kB / 0.609 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/1.01, allocations: 12.66 kB / 0.609 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005864/1.01, allocations: 39.03 kB / 0.6091 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/1.011, allocations: 59.44 kB / 0.6091 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/1.011, allocations: 60.88 kB / 0.6092 GB, free: 5.332 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008616/1.011, allocations: 471.2 kB / 0.6096 GB, free: 5.172 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/1.012, allocations: 7.344 kB / 0.6096 GB, free: 5.168 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001576/1.013, allocations: 345.1 kB / 0.61 GB, free: 5.141 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.001171/1.014, allocations: 400.5 kB / 0.6103 GB, free: 4.949 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002081/1.016, allocations: 0.7753 MB / 0.6111 GB, free: 4.836 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/1.016, allocations: 3.562 kB / 0.6111 GB, free: 4.836 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007239/1.017, allocations: 341.6 kB / 0.6114 GB, free: 4.781 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/1.019, allocations: 398.5 kB / 0.6118 GB, free: 4.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/1.022, allocations: 1.994 MB / 0.6138 GB, free: 3.434 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/1.023, allocations: 0.99 MB / 0.6147 GB, free: 2.617 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001695/1.024, allocations: 0.5907 MB / 0.6153 GB, free: 2.332 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003914/1.025, allocations: 123.9 kB / 0.6154 GB, free: 2.301 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/1.025, allocations: 0 / 0.6154 GB, free: 2.301 MB / 446.1 MB Notification: Performance of Templates: time 0.03283/1.058, allocations: 19.93 MB / 0.6349 GB, free: 416 kB / 462.1 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)