Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.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.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 106.9 kB / 16.41 MB, free: 6.492 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.001115/0.001115, allocations: 187 kB / 17.34 MB, free: 5.73 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002629/0.002629, allocations: 0.5674 MB / 291.8 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.91 kB / 403.1 MB, free: 32.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07634/0.07763, allocations: 49.58 MB / 452.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.3852/0.4629, allocations: 179.4 MB / 0.6172 GB, free: 14.97 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006265/0.4692, allocations: 3.179 MB / 0.6203 GB, free: 11.78 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008538/0.4701, allocations: 23.88 kB / 0.6204 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.4714, allocations: 405.4 kB / 0.6207 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004344/0.4758, allocations: 1.593 MB / 0.6223 GB, free: 9.77 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00299/0.4789, allocations: 1.105 MB / 0.6234 GB, free: 8.676 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003183/0.4821, allocations: 2.419 MB / 0.6257 GB, free: 6.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.4832, allocations: 0.5918 MB / 0.6263 GB, free: 5.648 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002236/0.4854, allocations: 1.008 MB / 0.6273 GB, free: 4.637 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.487, allocations: 0.7317 MB / 0.628 GB, free: 3.902 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003186/0.4873, allocations: 80 kB / 0.6281 GB, free: 3.824 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.4898, allocations: 1.026 MB / 0.6291 GB, free: 2.801 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004645/0.4903, allocations: 327.1 kB / 0.6294 GB, free: 2.48 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009412/0.4913, allocations: 489.8 kB / 0.6299 GB, free: 2 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003107/0.4944, allocations: 1.741 MB / 0.6316 GB, free: 260 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4944, allocations: 0 / 0.6316 GB, free: 260 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4944, allocations: 0 / 0.6316 GB, free: 260 kB / 462.1 MB Notification: Performance of Transformations before backend: time 4.306e-05/0.4945, allocations: 4 kB / 0.6316 GB, free: 256 kB / 462.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.00317/0.4976, allocations: 1.306 MB / 0.6329 GB, free: 14.89 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4977, allocations: 8.031 kB / 0.6329 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.4989, allocations: 162.9 kB / 0.633 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.5001, allocations: 0.5937 MB / 0.6336 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.5003, allocations: 176.8 kB / 0.6338 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.5004, allocations: 75.94 kB / 0.6338 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.5022, allocations: 1.083 MB / 0.6349 GB, free: 12.63 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.5022, allocations: 0 / 0.6349 GB, free: 12.63 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.5023, allocations: 40 kB / 0.6349 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.731e-05/0.5024, allocations: 33.25 kB / 0.635 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.5038, allocations: 0.7855 MB / 0.6357 GB, free: 11.78 MB / 478.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.00613/0.5099, allocations: 5.714 MB / 0.6413 GB, free: 5.672 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006861/0.5106, allocations: 402.3 kB / 0.6417 GB, free: 5.27 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/0.511, allocations: 220.8 kB / 0.6419 GB, free: 5.051 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002505/0.5113, allocations: 259.3 kB / 0.6422 GB, free: 4.742 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.5113, allocations: 42.56 kB / 0.6422 GB, free: 4.691 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 2.204e-06/0.5113, allocations: 0 / 0.6422 GB, free: 4.691 MB / 478.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.01019/0.5215, allocations: 3.004 MB / 0.6451 GB, free: 1.602 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.5216, allocations: 107.4 kB / 0.6452 GB, free: 1.473 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008503/0.5225, allocations: 0.6797 MB / 0.6459 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.625e-05/0.5226, allocations: 45.64 kB / 0.6459 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.5229, allocations: 462 kB / 0.6464 GB, free: 284 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.5231, allocations: 205.2 kB / 0.6466 GB, free: 76 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003157/0.5234, allocations: 222.8 kB / 0.6468 GB, free: 15.85 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.5236, allocations: 390.8 kB / 0.6472 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004833/0.5241, allocations: 286.5 kB / 0.6474 GB, free: 15.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007914/0.5249, allocations: 0.7629 MB / 0.6482 GB, free: 14.18 MB / 494.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.01689/0.5418, allocations: 3.313 MB / 0.6514 GB, free: 10.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.489e-05/0.5418, allocations: 4 kB / 0.6514 GB, free: 10.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002399/0.5442, allocations: 1.221 MB / 0.6526 GB, free: 9.387 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.5443, allocations: 12 kB / 0.6526 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.623e-05/0.5443, allocations: 16 kB / 0.6526 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009443/0.5453, allocations: 276.1 kB / 0.6529 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/0.5459, allocations: 211.6 kB / 0.6531 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009975/0.547, allocations: 0.9073 MB / 0.654 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007233/0.5477, allocations: 40 kB / 0.654 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.5478, allocations: 99.97 kB / 0.6541 GB, free: 7.812 MB / 494.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.0005008/0.5484, allocations: 286.1 kB / 0.6544 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.5486, allocations: 83.05 kB / 0.6545 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/0.5509, allocations: 1.202 MB / 0.6557 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.5509, allocations: 7.938 kB / 0.6557 GB, free: 6.215 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.5509, allocations: 4 kB / 0.6557 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.551, allocations: 3.984 kB / 0.6557 GB, free: 6.207 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.003139/0.5541, allocations: 1.985 MB / 0.6576 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.5541, allocations: 3.984 kB / 0.6576 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.5545, allocations: 91.91 kB / 0.6577 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001482/0.5559, allocations: 288.5 kB / 0.658 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.846e-05/0.556, allocations: 27.98 kB / 0.658 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009228/0.5569, allocations: 0.8402 MB / 0.6588 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.557, allocations: 4 kB / 0.6588 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.559, allocations: 1.135 MB / 0.6599 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/0.5594, allocations: 212.1 kB / 0.6601 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.5596, allocations: 12 kB / 0.6601 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/0.5601, allocations: 27.98 kB / 0.6602 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/0.5602, allocations: 52.5 kB / 0.6602 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.5604, allocations: 55.98 kB / 0.6603 GB, free: 1.266 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006465/0.561, allocations: 475 kB / 0.6607 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.561, allocations: 0 / 0.6607 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001281/0.5623, allocations: 355.8 kB / 0.6611 GB, free: 472 kB / 494.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.001166/0.5635, allocations: 393.6 kB / 0.6614 GB, free: 76 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.5652, allocations: 0.7905 MB / 0.6622 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.5652, allocations: 3.859 kB / 0.6622 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008095/0.566, allocations: 338.9 kB / 0.6625 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.5679, allocations: 413.3 kB / 0.6629 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.5708, allocations: 1.644 MB / 0.6645 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006085/0.5714, allocations: 0.9868 MB / 0.6655 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000451/0.5719, allocations: 151.4 kB / 0.6657 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.5719, allocations: 0 / 0.6657 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.02819/0.6001, allocations: 18.69 MB / 0.6839 GB, free: 9.113 MB / 0.5137 GB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe 2>&1)