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.004695/0.004695, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001118/0.001118, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.002596/0.002596, allocations: 0.5696 MB / 291.1 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.89 kB / 402.4 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08605/0.0873, allocations: 49.6 MB / 452 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.3733/0.4606, allocations: 179.3 MB / 0.6166 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004869/0.4655, allocations: 3.178 MB / 0.6197 GB, free: 9.656 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007296/0.4663, allocations: 20.62 kB / 0.6197 GB, free: 9.648 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.4673, allocations: 397.4 kB / 0.6201 GB, free: 9.414 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003856/0.4712, allocations: 1.588 MB / 0.6216 GB, free: 8.641 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002775/0.474, allocations: 1.116 MB / 0.6227 GB, free: 8.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002555/0.4765, allocations: 2.418 MB / 0.6251 GB, free: 7.066 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007489/0.4773, allocations: 0.5893 MB / 0.6256 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.4788, allocations: 1.021 MB / 0.6266 GB, free: 6.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008754/0.4797, allocations: 0.7254 MB / 0.6273 GB, free: 5.836 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.4799, allocations: 77.66 kB / 0.6274 GB, free: 5.836 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.4819, allocations: 1.027 MB / 0.6284 GB, free: 5.359 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002819/0.4822, allocations: 319.4 kB / 0.6287 GB, free: 5.148 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004443/0.4826, allocations: 490.5 kB / 0.6292 GB, free: 4.855 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.4847, allocations: 1.741 MB / 0.6309 GB, free: 3.875 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.4847, allocations: 4 kB / 0.6309 GB, free: 3.871 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4847, allocations: 0 / 0.6309 GB, free: 3.871 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.4847, allocations: 0 / 0.6309 GB, free: 3.871 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.002293/0.487, allocations: 1.298 MB / 0.6322 GB, free: 2.918 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.487, allocations: 10.09 kB / 0.6322 GB, free: 2.918 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.4881, allocations: 169.4 kB / 0.6323 GB, free: 2.848 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008282/0.489, allocations: 0.5938 MB / 0.6329 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.4891, allocations: 175.8 kB / 0.6331 GB, free: 2.227 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.4892, allocations: 69.38 kB / 0.6331 GB, free: 2.203 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.4907, allocations: 1.088 MB / 0.6342 GB, free: 1.418 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.4908, allocations: 6.75 kB / 0.6342 GB, free: 1.414 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.901e-05/0.4909, allocations: 35.64 kB / 0.6342 GB, free: 1.395 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.094e-05/0.4909, allocations: 40.98 kB / 0.6343 GB, free: 1.383 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.4922, allocations: 0.7868 MB / 0.6351 GB, free: 0.6797 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.005567/0.4977, allocations: 5.705 MB / 0.6406 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006654/0.4984, allocations: 394.4 kB / 0.641 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.4988, allocations: 216.8 kB / 0.6412 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.499, allocations: 266.2 kB / 0.6415 GB, free: 9.699 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.499, allocations: 38.56 kB / 0.6415 GB, free: 9.652 MB / 462.1 MB Notification: Performance of pre-optimization done (n=44): time 2.144e-06/0.4991, allocations: 0 / 0.6415 GB, free: 9.652 MB / 462.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.01003/0.5091, allocations: 3.005 MB / 0.6444 GB, free: 6.566 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.5092, allocations: 115.3 kB / 0.6445 GB, free: 6.43 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007667/0.5099, allocations: 0.6836 MB / 0.6452 GB, free: 5.738 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.344e-05/0.51, allocations: 41.64 kB / 0.6453 GB, free: 5.691 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.5103, allocations: 458.4 kB / 0.6457 GB, free: 5.246 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.5105, allocations: 203.2 kB / 0.6459 GB, free: 5.047 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/0.5108, allocations: 234.7 kB / 0.6461 GB, free: 4.812 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5109, allocations: 382.8 kB / 0.6465 GB, free: 4.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/0.5114, allocations: 286.5 kB / 0.6467 GB, free: 4.148 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007822/0.5122, allocations: 0.763 MB / 0.6475 GB, free: 3.152 MB / 462.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.01575/0.5279, allocations: 3.314 MB / 0.6507 GB, free: 15.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.528, allocations: 4 kB / 0.6507 GB, free: 15.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001939/0.5299, allocations: 1.229 MB / 0.6519 GB, free: 14.35 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.5299, allocations: 12 kB / 0.6519 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.53, allocations: 16 kB / 0.652 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008787/0.5309, allocations: 267.5 kB / 0.6522 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/0.5315, allocations: 207.7 kB / 0.6524 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009343/0.5324, allocations: 0.8996 MB / 0.6533 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006226/0.533, allocations: 40 kB / 0.6533 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.5332, allocations: 104 kB / 0.6534 GB, free: 12.79 MB / 478.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.0004217/0.5336, allocations: 298.7 kB / 0.6537 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.5338, allocations: 79.06 kB / 0.6538 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.536, allocations: 1.198 MB / 0.655 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.536, allocations: 11.94 kB / 0.655 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.536, allocations: 0 / 0.655 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.536, allocations: 3.938 kB / 0.655 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.5389, allocations: 1.984 MB / 0.6569 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5389, allocations: 4 kB / 0.6569 GB, free: 9.059 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.5392, allocations: 95.89 kB / 0.657 GB, free: 8.965 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/0.5407, allocations: 286.6 kB / 0.6573 GB, free: 8.684 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.447e-05/0.5408, allocations: 31.98 kB / 0.6573 GB, free: 8.652 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.5418, allocations: 0.8395 MB / 0.6581 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.5418, allocations: 3.984 kB / 0.6581 GB, free: 7.785 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.5437, allocations: 1.127 MB / 0.6592 GB, free: 6.625 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002937/0.544, allocations: 208.1 kB / 0.6594 GB, free: 6.402 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.5442, allocations: 16 kB / 0.6594 GB, free: 6.387 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004649/0.5447, allocations: 23.98 kB / 0.6595 GB, free: 6.363 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.73e-05/0.5448, allocations: 52.5 kB / 0.6595 GB, free: 6.312 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.57e-05/0.5448, allocations: 63.97 kB / 0.6596 GB, free: 6.25 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005307/0.5454, allocations: 474.9 kB / 0.66 GB, free: 5.793 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5454, allocations: 0 / 0.66 GB, free: 5.793 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001121/0.5465, allocations: 351.9 kB / 0.6604 GB, free: 5.449 MB / 478.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.0008919/0.5474, allocations: 407.9 kB / 0.6608 GB, free: 5.07 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.5488, allocations: 0.7905 MB / 0.6615 GB, free: 4.285 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.5489, allocations: 7.859 kB / 0.6615 GB, free: 4.277 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007554/0.5496, allocations: 338.9 kB / 0.6619 GB, free: 3.949 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.5515, allocations: 408.8 kB / 0.6622 GB, free: 3.551 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.5538, allocations: 1.598 MB / 0.6638 GB, free: 1.918 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.5543, allocations: 0.9906 MB / 0.6648 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001143/0.5555, allocations: 0.5821 MB / 0.6653 GB, free: 328 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/0.5558, allocations: 135.4 kB / 0.6655 GB, free: 192 kB / 478.1 MB Notification: Performance of SimCode: time 3.7e-07/0.5558, allocations: 0 / 0.6655 GB, free: 192 kB / 478.1 MB Notification: Performance of Templates: time 0.03098/0.5868, allocations: 21.05 MB / 0.686 GB, free: 11.36 MB / 0.4981 GB 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)