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.001005/0.001005, allocations: 92.08 kB / 16.02 MB, free: 80 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.001078/0.001078, allocations: 178.2 kB / 16.92 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.44/1.44, allocations: 223.3 MB / 241 MB, free: 5.273 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.002427/0.002427, allocations: 0.5542 MB / 292.6 MB, free: 1.516 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003372, allocations: 8 kB / 354 MB, free: 2.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.317, allocations: 50.56 MB / 404.5 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.4597/0.7767, allocations: 175.3 MB / 0.5662 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006627/0.7834, allocations: 3.322 MB / 0.5695 GB, free: 1.633 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.7848, allocations: 30.28 kB / 0.5695 GB, free: 1.633 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.7862, allocations: 348.6 kB / 0.5698 GB, free: 1.621 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005151/0.7913, allocations: 1.45 MB / 0.5712 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003311/0.7947, allocations: 1.001 MB / 0.5722 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004866/0.7996, allocations: 3.437 MB / 0.5756 GB, free: 1.496 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.8008, allocations: 0.5096 MB / 0.5761 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002689/0.8035, allocations: 0.886 MB / 0.5769 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001813/0.8054, allocations: 0.7676 MB / 0.5777 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.8056, allocations: 41.81 kB / 0.5777 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.8086, allocations: 0.907 MB / 0.5786 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004105/0.809, allocations: 291.7 kB / 0.5789 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009687/0.81, allocations: 485.2 kB / 0.5794 GB, free: 17.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002129/0.8121, allocations: 1.259 MB / 0.5806 GB, free: 17.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.8122, allocations: 0 / 0.5806 GB, free: 17.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.8122, allocations: 0 / 0.5806 GB, free: 17.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.8122, allocations: 0 / 0.5806 GB, free: 17.3 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.002604/0.8148, allocations: 1.108 MB / 0.5817 GB, free: 16.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.8148, allocations: 9.406 kB / 0.5817 GB, free: 16.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.8159, allocations: 169.3 kB / 0.5818 GB, free: 16.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008768/0.8168, allocations: 0.5647 MB / 0.5824 GB, free: 16.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.817, allocations: 178.3 kB / 0.5826 GB, free: 16.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.8171, allocations: 68.88 kB / 0.5826 GB, free: 16.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.8186, allocations: 1.092 MB / 0.5837 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.8186, allocations: 9.125 kB / 0.5837 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.8187, allocations: 33.41 kB / 0.5837 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.937e-05/0.8188, allocations: 36.59 kB / 0.5838 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.8199, allocations: 0.7868 MB / 0.5845 GB, free: 15.88 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.005691/0.8256, allocations: 5.712 MB / 0.5901 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/0.8262, allocations: 397.7 kB / 0.5905 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.8265, allocations: 222.7 kB / 0.5907 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002679/0.8268, allocations: 262 kB / 0.591 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.8269, allocations: 43.81 kB / 0.591 GB, free: 11.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.444e-06/0.8269, allocations: 0 / 0.591 GB, free: 11.52 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.009864/0.8368, allocations: 3.03 MB / 0.594 GB, free: 10.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/0.8369, allocations: 115.4 kB / 0.5941 GB, free: 10.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008753/0.8378, allocations: 0.6842 MB / 0.5947 GB, free: 10.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.266e-05/0.8379, allocations: 38.61 kB / 0.5948 GB, free: 10.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/0.8382, allocations: 455.1 kB / 0.5952 GB, free: 10.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.8384, allocations: 206.9 kB / 0.5954 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.8386, allocations: 95.27 kB / 0.5955 GB, free: 10.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.8388, allocations: 384.9 kB / 0.5959 GB, free: 9.793 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.8392, allocations: 282.8 kB / 0.5961 GB, free: 9.793 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007583/0.84, allocations: 0.7738 MB / 0.5969 GB, free: 9.172 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.01658/0.8566, allocations: 3.626 MB / 0.6004 GB, free: 8.367 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.8566, allocations: 8.75 kB / 0.6004 GB, free: 8.367 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001929/0.8585, allocations: 1.216 MB / 0.6016 GB, free: 8.262 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.8586, allocations: 13.42 kB / 0.6016 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.8586, allocations: 20.33 kB / 0.6017 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009836/0.8596, allocations: 282.2 kB / 0.6019 GB, free: 8.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/0.8602, allocations: 207.5 kB / 0.6021 GB, free: 8.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.8612, allocations: 0.9207 MB / 0.603 GB, free: 7.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009126/0.8622, allocations: 66.02 kB / 0.6031 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.8623, allocations: 98.25 kB / 0.6032 GB, free: 7.711 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.0005399/0.8628, allocations: 297.6 kB / 0.6035 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.863, allocations: 83.03 kB / 0.6035 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/0.8653, allocations: 1.203 MB / 0.6047 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.8653, allocations: 9.469 kB / 0.6047 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.8653, allocations: 4 kB / 0.6047 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.8653, allocations: 3.328 kB / 0.6047 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/0.8682, allocations: 1.983 MB / 0.6067 GB, free: 6.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.8682, allocations: 0 / 0.6067 GB, free: 6.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.8686, allocations: 96.8 kB / 0.6068 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001627/0.8702, allocations: 295.6 kB / 0.607 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.588e-05/0.8703, allocations: 37.52 kB / 0.6071 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.8713, allocations: 0.8381 MB / 0.6079 GB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.8713, allocations: 9.5 kB / 0.6079 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.8732, allocations: 1.13 MB / 0.609 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004232/0.8736, allocations: 224.9 kB / 0.6092 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.8737, allocations: 20.38 kB / 0.6092 GB, free: 5.348 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000521/0.8743, allocations: 35.94 kB / 0.6093 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.8744, allocations: 55 kB / 0.6093 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.8745, allocations: 65.47 kB / 0.6094 GB, free: 5.309 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006391/0.8752, allocations: 469.3 kB / 0.6098 GB, free: 5.148 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.8752, allocations: 0 / 0.6098 GB, free: 5.148 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001369/0.8765, allocations: 355.8 kB / 0.6102 GB, free: 5.117 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.001044/0.8776, allocations: 402.5 kB / 0.6106 GB, free: 4.922 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001534/0.8791, allocations: 0.7717 MB / 0.6113 GB, free: 4.812 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.8792, allocations: 7.281 kB / 0.6113 GB, free: 4.809 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007159/0.8799, allocations: 339.3 kB / 0.6117 GB, free: 4.754 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.8821, allocations: 402.2 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.003077/0.8852, allocations: 2.036 MB / 0.614 GB, free: 3.375 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006347/0.8859, allocations: 0.9862 MB / 0.615 GB, free: 2.559 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005923/0.8865, allocations: 167.6 kB / 0.6151 GB, free: 2.508 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.8865, allocations: 0 / 0.6151 GB, free: 2.508 MB / 446.1 MB Notification: Performance of Templates: time 0.02792/0.9144, allocations: 18.35 MB / 0.6331 GB, free: 2.527 MB / 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)