Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.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.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 107.4 kB / 16.41 MB, free: 6.512 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.001288/0.001288, allocations: 187 kB / 17.34 MB, free: 5.742 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.272/1.272, allocations: 222.9 MB / 241 MB, free: 15.16 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.002481/0.002481, allocations: 0.5712 MB / 291.8 MB, free: 14.2 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 63.88 kB / 403.1 MB, free: 32.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07225/0.07341, allocations: 49.6 MB / 452.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.001574/0.07502, allocations: 0.5701 MB / 453.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001983/0.07524, allocations: 43.86 kB / 453.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.07528, allocations: 0 / 453.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.0753, allocations: 3.938 kB / 453.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.638e-05/0.07539, allocations: 7.938 kB / 453.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.073e-05/0.07548, allocations: 19.89 kB / 453.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.553e-05/0.07557, allocations: 51.84 kB / 453.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.07562, allocations: 4.344 kB / 453.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.319e-05/0.07566, allocations: 19.92 kB / 453.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.941e-05/0.07575, allocations: 27.91 kB / 453.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.07577, allocations: 4 kB / 453.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.459e-05/0.07579, allocations: 4 kB / 453.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.07581, allocations: 15.91 kB / 453.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.07585, allocations: 27.86 kB / 453.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.884e-05/0.07593, allocations: 39.81 kB / 453.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.07594, allocations: 0 / 453.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.07594, allocations: 0 / 453.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.07595, allocations: 0 / 453.5 MB, free: 13.68 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004815/0.07644, allocations: 379.3 kB / 453.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.07648, allocations: 11.89 kB / 453.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.869e-05/0.07654, allocations: 8.844 kB / 453.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.07667, allocations: 172.3 kB / 454.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.07669, allocations: 12.36 kB / 454.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.07672, allocations: 12.28 kB / 454.1 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.07684, allocations: 66.23 kB / 454.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.07685, allocations: 192 / 454.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.07687, allocations: 3.938 kB / 454.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.07688, allocations: 4 kB / 454.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.37e-05/0.07696, allocations: 31.98 kB / 454.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.07742, allocations: 308.8 kB / 454.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.07767, allocations: 106.4 kB / 454.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.387e-05/0.07773, allocations: 40.84 kB / 454.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.07775, allocations: 224 / 454.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.07778, allocations: 46.5 kB / 454.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 9.32e-07/0.07779, allocations: 0 / 454.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002952/0.08075, allocations: 0.8507 MB / 455.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.08079, allocations: 51.41 kB / 455.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.142e-05/0.08087, allocations: 109.8 kB / 455.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.08089, allocations: 33.7 kB / 455.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.08095, allocations: 92.08 kB / 455.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.08099, allocations: 63.17 kB / 455.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.08104, allocations: 29.72 kB / 455.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.08115, allocations: 322.8 kB / 456.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/0.08122, allocations: 39.98 kB / 456.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.868e-05/0.0813, allocations: 57.69 kB / 456.4 MB, free: 10.6 MB / 334.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002301/0.08361, allocations: 486.2 kB / 456.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.08362, allocations: 0 / 456.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001342/0.08497, allocations: 329.2 kB / 457.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.08499, allocations: 8.031 kB / 457.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.085, allocations: 7.984 kB / 457.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001606/0.08661, allocations: 252.6 kB / 457.4 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.508e-05/0.0867, allocations: 19.98 kB / 457.4 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002907/0.08962, allocations: 1.95 MB / 459.4 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.585e-05/0.0897, allocations: 7.984 kB / 459.4 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.08972, allocations: 4 kB / 459.4 MB, free: 7.402 MB / 334.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.E1 = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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 {(5,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.08986, allocations: 126.4 kB / 459.5 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.0899, allocations: 11.84 kB / 459.5 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.08994, allocations: 16.5 kB / 459.5 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.08995, allocations: 0 / 459.5 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.08996, allocations: 4 kB / 459.5 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.08997, allocations: 0 / 459.5 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.09017, allocations: 197.6 kB / 459.7 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.09018, allocations: 3.938 kB / 459.7 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.892e-05/0.09023, allocations: 8 kB / 459.8 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001667/0.0919, allocations: 284.4 kB / 460 MB, free: 6.703 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.09193, allocations: 128 / 460 MB, free: 6.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.09394, allocations: 1.94 MB / 462 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.09396, allocations: 7.922 kB / 462 MB, free: 4.617 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009231/0.09488, allocations: 404 kB / 462.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.09494, allocations: 81.02 kB / 462.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.09496, allocations: 11.94 kB / 462.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.09507, allocations: 4 kB / 462.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.0951, allocations: 15.97 kB / 462.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.09512, allocations: 7.984 kB / 462.5 MB, free: 4.066 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.973e-05/0.09516, allocations: 87.28 kB / 462.6 MB, free: 3.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09517, allocations: 0 / 462.6 MB, free: 3.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002985/0.09547, allocations: 32 kB / 462.6 MB, free: 3.949 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,T1,T2) * 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 (8): * Single equations (assignments): 7 * 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): 1 system {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.353e-05/0.09556, allocations: 103.4 kB / 462.7 MB, free: 3.836 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006981/0.09626, allocations: 325.8 kB / 463 MB, free: 3.508 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.09628, allocations: 4.062 kB / 463 MB, free: 3.504 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.09659, allocations: 226.5 kB / 463.2 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.09681, allocations: 11.98 kB / 463.3 MB, free: 3.258 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.09719, allocations: 263.1 kB / 463.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.09744, allocations: 0.7046 MB / 464.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.09748, allocations: 15.38 kB / 464.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09748, allocations: 0 / 464.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of Templates: time 0.003095/0.1006, allocations: 1.635 MB / 465.9 MB, free: 0.5977 MB / 334.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1)