Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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) 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) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 108.9 kB / 289.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002633/0.002632, allocations: 0.5713 MB / 340.6 MB, free: 8.227 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009726/0.0009727, allocations: 49.98 kB / 400.9 MB, free: 66.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07187/0.07286, allocations: 49.6 MB / 450.5 MB, free: 16.5 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.3487/0.4216, allocations: 177.7 MB / 0.6135 GB, free: 6.738 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006378/0.428, allocations: 3.354 MB / 0.6167 GB, free: 3.379 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.4292, allocations: 31.75 kB / 0.6168 GB, free: 3.348 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.4304, allocations: 350.1 kB / 0.6171 GB, free: 3.004 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003854/0.4343, allocations: 1.447 MB / 0.6185 GB, free: 1.555 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002654/0.4369, allocations: 0.9947 MB / 0.6195 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003742/0.4407, allocations: 3.43 MB / 0.6228 GB, free: 13.13 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.4417, allocations: 0.5093 MB / 0.6233 GB, free: 12.61 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001836/0.4436, allocations: 0.8913 MB / 0.6242 GB, free: 11.71 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.4449, allocations: 0.7785 MB / 0.625 GB, free: 10.93 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002368/0.4451, allocations: 44 kB / 0.625 GB, free: 10.89 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002137/0.4473, allocations: 0.9125 MB / 0.6259 GB, free: 9.977 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004215/0.4477, allocations: 295.1 kB / 0.6262 GB, free: 9.688 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007099/0.4484, allocations: 453.8 kB / 0.6266 GB, free: 9.242 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002507/0.451, allocations: 1.706 MB / 0.6283 GB, free: 7.531 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.451, allocations: 3.938 kB / 0.6283 GB, free: 7.527 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.451, allocations: 0 / 0.6283 GB, free: 7.527 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.204e-05/0.451, allocations: 0 / 0.6283 GB, free: 7.527 MB / 442.7 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.00286/0.4539, allocations: 1.298 MB / 0.6296 GB, free: 6.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.4539, allocations: 12.03 kB / 0.6296 GB, free: 6.168 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.4551, allocations: 170.8 kB / 0.6297 GB, free: 6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.4563, allocations: 0.5586 MB / 0.6303 GB, free: 5.398 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.4565, allocations: 180.8 kB / 0.6305 GB, free: 5.195 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.4567, allocations: 71.91 kB / 0.6305 GB, free: 5.125 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.4584, allocations: 1.098 MB / 0.6316 GB, free: 3.926 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.4584, allocations: 3.938 kB / 0.6316 GB, free: 3.922 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.4585, allocations: 36 kB / 0.6316 GB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.257e-05/0.4586, allocations: 33.3 kB / 0.6317 GB, free: 3.855 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.4599, allocations: 0.7855 MB / 0.6324 GB, free: 3.07 MB / 442.7 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.1757/0.6356, allocations: 5.7 MB / 0.638 GB, free: 162.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006989/0.6364, allocations: 383.3 kB / 0.6384 GB, free: 162.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.6367, allocations: 221.6 kB / 0.6386 GB, free: 162.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/0.6369, allocations: 265.4 kB / 0.6388 GB, free: 162.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.6369, allocations: 42.64 kB / 0.6389 GB, free: 162.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 3.006e-06/0.6369, allocations: 0 / 0.6389 GB, free: 162.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=55): time 0.006816/0.6438, allocations: 2.256 MB / 0.6411 GB, free: 161.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.6438, allocations: 111.5 kB / 0.6412 GB, free: 161.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.6446, allocations: 0.6813 MB / 0.6418 GB, free: 160.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/0.6446, allocations: 37.83 kB / 0.6419 GB, free: 160.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.6448, allocations: 469.8 kB / 0.6423 GB, free: 160.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.645, allocations: 204.4 kB / 0.6425 GB, free: 160.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/0.6453, allocations: 229.2 kB / 0.6427 GB, free: 160.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6454, allocations: 389.6 kB / 0.6431 GB, free: 159.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.6459, allocations: 280.8 kB / 0.6434 GB, free: 159.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006557/0.6466, allocations: 0.7652 MB / 0.6441 GB, free: 159 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0154/0.662, allocations: 3.112 MB / 0.6472 GB, free: 157.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.662, allocations: 5.156 kB / 0.6472 GB, free: 157.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002185/0.6642, allocations: 1.269 MB / 0.6484 GB, free: 157.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.6642, allocations: 12 kB / 0.6484 GB, free: 157.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.6643, allocations: 15.84 kB / 0.6484 GB, free: 157.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001891/0.6662, allocations: 469.3 kB / 0.6489 GB, free: 157.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005208/0.6667, allocations: 184.8 kB / 0.6491 GB, free: 157.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.6682, allocations: 1.115 MB / 0.6501 GB, free: 156.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008993/0.6691, allocations: 79.05 kB / 0.6502 GB, free: 156.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/0.6693, allocations: 96.98 kB / 0.6503 GB, free: 156.4 MB / 442.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.V2.medium.p = 0.0. 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 (101): * Single equations (assignments): 100 * 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,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005569/0.6699, allocations: 291.6 kB / 0.6506 GB, free: 156.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.67, allocations: 83.66 kB / 0.6507 GB, free: 156.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/0.6727, allocations: 1.205 MB / 0.6518 GB, free: 155.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.6727, allocations: 6.469 kB / 0.6519 GB, free: 155.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.6727, allocations: 0 / 0.6519 GB, free: 155.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.6728, allocations: 4.625 kB / 0.6519 GB, free: 155.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003116/0.6759, allocations: 1.986 MB / 0.6538 GB, free: 154.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.6759, allocations: 1.875 kB / 0.6538 GB, free: 154.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.6762, allocations: 104.6 kB / 0.6539 GB, free: 154.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001419/0.6777, allocations: 286.8 kB / 0.6542 GB, free: 154.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/0.6777, allocations: 28.11 kB / 0.6542 GB, free: 154.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007619/0.6785, allocations: 0.8383 MB / 0.655 GB, free: 153.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6785, allocations: 2.75 kB / 0.655 GB, free: 153.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03817/0.7167, allocations: 10.96 MB / 0.6657 GB, free: 144.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003513/0.7171, allocations: 220.2 kB / 0.6659 GB, free: 144.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-05/0.7172, allocations: 16 kB / 0.666 GB, free: 144.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004891/0.7177, allocations: 50.98 kB / 0.666 GB, free: 144.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.289e-05/0.7178, allocations: 60.14 kB / 0.6661 GB, free: 144.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.395e-05/0.7178, allocations: 63.98 kB / 0.6661 GB, free: 144.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004934/0.7183, allocations: 471 kB / 0.6666 GB, free: 143.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.7184, allocations: 0 / 0.6666 GB, free: 143.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002007/0.7204, allocations: 0.6405 MB / 0.6672 GB, free: 143.2 MB / 442.7 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.001678/0.7221, allocations: 439.9 kB / 0.6676 GB, free: 142.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.7235, allocations: 0.7815 MB / 0.6684 GB, free: 142.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.7235, allocations: 5.641 kB / 0.6684 GB, free: 142.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006731/0.7241, allocations: 334.7 kB / 0.6687 GB, free: 141.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.726, allocations: 403.9 kB / 0.6691 GB, free: 141.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.7294, allocations: 2.561 MB / 0.6716 GB, free: 138.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.7297, allocations: 1.003 MB / 0.6726 GB, free: 137.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001667/0.7314, allocations: 0.6578 MB / 0.6732 GB, free: 137.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005443/0.7319, allocations: 199.3 kB / 0.6734 GB, free: 136.9 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/0.732, allocations: 4 kB / 0.6734 GB, free: 136.9 MB / 442.7 MB Notification: Performance of Templates: time 0.04032/0.7723, allocations: 36.12 MB / 0.7087 GB, free: 101 MB / 442.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe 2>&1)