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.001244/0.001244, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001755/0.001756, allocations: 193.2 kB / 16.25 MB, free: 6.617 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.573/1.573, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.004497/0.004497, allocations: 0.5661 MB / 290.6 MB, free: 1.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.91 kB / 351.1 MB, free: 2.652 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1423, allocations: 49.59 MB / 400.7 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.7735/0.9158, allocations: 177.6 MB / 0.5647 GB, free: 1.559 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006852/0.9227, allocations: 3.294 MB / 0.5679 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.924, allocations: 30.38 kB / 0.568 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.9252, allocations: 356.3 kB / 0.5683 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006122/0.9314, allocations: 1.478 MB / 0.5698 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003704/0.9351, allocations: 1.023 MB / 0.5708 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003779/0.9389, allocations: 2.428 MB / 0.5731 GB, free: 1.406 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.9401, allocations: 0.596 MB / 0.5737 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/0.9431, allocations: 1.001 MB / 0.5747 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.9447, allocations: 0.7865 MB / 0.5755 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002077/0.9449, allocations: 84.53 kB / 0.5755 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002733/0.9476, allocations: 0.9939 MB / 0.5765 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004064/0.9481, allocations: 329.1 kB / 0.5768 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008284/0.9489, allocations: 0.4957 MB / 0.5773 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003547/0.9525, allocations: 1.74 MB / 0.579 GB, free: 1.246 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.9525, allocations: 1.203 kB / 0.579 GB, free: 1.246 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.9525, allocations: 0.875 kB / 0.579 GB, free: 1.246 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.359e-05/0.9525, allocations: 0 / 0.579 GB, free: 1.246 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.002786/0.9553, allocations: 1.3 MB / 0.5803 GB, free: 16.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.9554, allocations: 9.094 kB / 0.5803 GB, free: 16.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.9565, allocations: 170.6 kB / 0.5804 GB, free: 16.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008425/0.9574, allocations: 0.5609 MB / 0.581 GB, free: 16.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.9575, allocations: 175 kB / 0.5812 GB, free: 16.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.9576, allocations: 76.44 kB / 0.5812 GB, free: 16.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.9591, allocations: 1.106 MB / 0.5823 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.9592, allocations: 3.781 kB / 0.5823 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.241e-05/0.9593, allocations: 35.02 kB / 0.5824 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/0.9593, allocations: 35.28 kB / 0.5824 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.9605, allocations: 0.7865 MB / 0.5832 GB, free: 15.82 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.00561/0.9661, allocations: 5.705 MB / 0.5887 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007019/0.9668, allocations: 390.6 kB / 0.5891 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/0.9673, allocations: 222.8 kB / 0.5893 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.9676, allocations: 267.2 kB / 0.5896 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.9676, allocations: 45.36 kB / 0.5896 GB, free: 11.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.154e-06/0.9676, allocations: 0 / 0.5896 GB, free: 11.49 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.01014/0.9778, allocations: 2.988 MB / 0.5925 GB, free: 10.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.9779, allocations: 109.9 kB / 0.5926 GB, free: 10.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007272/0.9786, allocations: 0.6838 MB / 0.5933 GB, free: 10.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.916e-05/0.9787, allocations: 38.95 kB / 0.5933 GB, free: 10.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/0.979, allocations: 459.8 kB / 0.5938 GB, free: 10.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.9792, allocations: 205.1 kB / 0.594 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002931/0.9795, allocations: 228.1 kB / 0.5942 GB, free: 10.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.9797, allocations: 393 kB / 0.5946 GB, free: 9.801 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004284/0.9801, allocations: 285.3 kB / 0.5948 GB, free: 9.801 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008432/0.981, allocations: 0.7654 MB / 0.5956 GB, free: 9.191 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.01498/0.996, allocations: 3.309 MB / 0.5988 GB, free: 8.496 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.996, allocations: 6.062 kB / 0.5988 GB, free: 8.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001953/0.998, allocations: 1.217 MB / 0.6 GB, free: 8.402 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.998, allocations: 11.72 kB / 0.6 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.9981, allocations: 18.16 kB / 0.6 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008831/0.9989, allocations: 277.5 kB / 0.6003 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005472/0.9995, allocations: 208.5 kB / 0.6005 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008566/1, allocations: 0.9021 MB / 0.6014 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007745/1.001, allocations: 74.41 kB / 0.6015 GB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/1.001, allocations: 98.09 kB / 0.6015 GB, free: 7.855 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.0004192/1.002, allocations: 290.8 kB / 0.6018 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/1.002, allocations: 78.56 kB / 0.6019 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/1.004, allocations: 1.206 MB / 0.6031 GB, free: 7.574 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/1.004, allocations: 6.297 kB / 0.6031 GB, free: 7.574 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/1.004, allocations: 2.25 kB / 0.6031 GB, free: 7.574 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/1.004, allocations: 3.328 kB / 0.6031 GB, free: 7.574 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002892/1.007, allocations: 1.992 MB / 0.605 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.007, allocations: 1.25 kB / 0.605 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/1.007, allocations: 91.77 kB / 0.6051 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/1.009, allocations: 283.3 kB / 0.6054 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/1.009, allocations: 37.81 kB / 0.6054 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008317/1.01, allocations: 0.8423 MB / 0.6062 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.01, allocations: 4 kB / 0.6063 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/1.012, allocations: 1.126 MB / 0.6074 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005503/1.013, allocations: 212.5 kB / 0.6076 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/1.013, allocations: 14.77 kB / 0.6076 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005431/1.013, allocations: 45.67 kB / 0.6076 GB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/1.013, allocations: 53.44 kB / 0.6077 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/1.014, allocations: 65.41 kB / 0.6077 GB, free: 5.891 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006796/1.014, allocations: 474.6 kB / 0.6082 GB, free: 5.797 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.61e-07/1.014, allocations: 3.938 kB / 0.6082 GB, free: 5.793 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00159/1.016, allocations: 355.5 kB / 0.6085 GB, free: 5.766 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.001194/1.017, allocations: 388.7 kB / 0.6089 GB, free: 5.629 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002663/1.02, allocations: 0.8389 MB / 0.6097 GB, free: 5.598 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.578e-05/1.02, allocations: 2.938 kB / 0.6097 GB, free: 5.598 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008936/1.021, allocations: 345 kB / 0.61 GB, free: 5.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/1.023, allocations: 404.6 kB / 0.6104 GB, free: 5.531 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/1.026, allocations: 1.911 MB / 0.6123 GB, free: 4.527 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000559/1.027, allocations: 0.9936 MB / 0.6133 GB, free: 3.816 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001653/1.028, allocations: 0.5814 MB / 0.6138 GB, free: 3.707 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/1.029, allocations: 131.5 kB / 0.614 GB, free: 3.688 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/1.029, allocations: 0 / 0.614 GB, free: 3.688 MB / 446.1 MB Notification: Performance of Templates: time 0.0333/1.062, allocations: 20.78 MB / 0.6343 GB, free: 15.76 MB / 478.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)