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.001642/0.001642, allocations: 105 kB / 16.4 MB, free: 6.496 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.001911/0.001911, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.266/1.266, 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.002613/0.002613, allocations: 0.5524 MB / 291.8 MB, free: 14.19 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 60.14 kB / 403.1 MB, free: 32.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08691/0.08816, allocations: 49.59 MB / 452.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.001467/0.08966, allocations: 0.5746 MB / 453.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002043/0.08988, allocations: 47.81 kB / 453.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.08992, allocations: 0 / 453.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.08996, allocations: 3.938 kB / 453.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.53e-05/0.09004, allocations: 15.91 kB / 453.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001194/0.09017, allocations: 11.98 kB / 453.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.474e-05/0.09026, allocations: 47.83 kB / 453.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.09031, allocations: 4.344 kB / 453.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.594e-05/0.09036, allocations: 31.84 kB / 453.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.191e-05/0.09043, allocations: 23.91 kB / 453.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.09046, allocations: 4 kB / 453.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.09047, allocations: 4 kB / 453.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.0905, allocations: 15.92 kB / 453.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.09054, allocations: 23.86 kB / 453.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.028e-05/0.09062, allocations: 39.81 kB / 453.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.09063, allocations: 0 / 453.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.09064, allocations: 0 / 453.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.09065, allocations: 0 / 453.5 MB, free: 13.67 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.000482/0.09113, allocations: 375.3 kB / 453.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.09117, allocations: 11.89 kB / 453.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.09121, allocations: 8.844 kB / 453.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.09136, allocations: 176.3 kB / 454.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.09138, allocations: 8.375 kB / 454.1 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.09142, allocations: 12.28 kB / 454.1 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.09155, allocations: 66.23 kB / 454.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.09157, allocations: 192 / 454.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.09158, allocations: 3.938 kB / 454.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.09159, allocations: 4 kB / 454.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.874e-05/0.09168, allocations: 39.97 kB / 454.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.09213, allocations: 308.8 kB / 454.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.0924, allocations: 110.5 kB / 454.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.591e-05/0.09246, allocations: 40.84 kB / 454.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.09248, allocations: 224 / 454.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.09251, allocations: 38.5 kB / 454.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 3.246e-06/0.09251, allocations: 3.984 kB / 454.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.003184/0.0957, allocations: 0.851 MB / 455.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.09576, allocations: 51.41 kB / 455.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/0.09584, allocations: 113.8 kB / 455.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.09587, allocations: 25.7 kB / 455.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.09593, allocations: 96.06 kB / 455.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.09597, allocations: 51.27 kB / 455.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/0.09603, allocations: 41.64 kB / 455.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.09614, allocations: 318.8 kB / 456.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-05/0.09622, allocations: 43.98 kB / 456.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.026e-05/0.09631, allocations: 61.69 kB / 456.4 MB, free: 10.58 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.002459/0.09877, allocations: 479.3 kB / 456.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.09879, allocations: 4 kB / 456.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001484/0.1003, allocations: 322 kB / 457.1 MB, free: 9.781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1003, allocations: 12.03 kB / 457.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1003, allocations: 3.938 kB / 457.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0017/0.102, allocations: 256.6 kB / 457.4 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.908e-05/0.1021, allocations: 19.94 kB / 457.4 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003164/0.1053, allocations: 1.95 MB / 459.4 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.867e-05/0.1054, allocations: 4 kB / 459.4 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.1054, allocations: 8.062 kB / 459.4 MB, free: 7.387 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.0001663/0.1056, allocations: 118.5 kB / 459.5 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.1056, allocations: 16.11 kB / 459.5 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/0.1057, allocations: 16.5 kB / 459.5 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1057, allocations: 0 / 459.5 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.1057, allocations: 8.062 kB / 459.5 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1057, allocations: 4 kB / 459.5 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.1059, allocations: 201.6 kB / 459.7 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1059, allocations: 3.938 kB / 459.7 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.342e-05/0.106, allocations: 12 kB / 459.8 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001812/0.1078, allocations: 276.4 kB / 460 MB, free: 6.684 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.1078, allocations: 8 kB / 460 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.11, allocations: 1.939 MB / 462 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.11, allocations: 0 / 462 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.111, allocations: 396 kB / 462.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.1111, allocations: 81.02 kB / 462.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.1111, allocations: 15.97 kB / 462.5 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.1112, allocations: 4 kB / 462.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.1113, allocations: 11.92 kB / 462.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.1113, allocations: 4 kB / 462.5 MB, free: 4.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.419e-05/0.1113, allocations: 91.27 kB / 462.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1113, allocations: 0 / 462.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003141/0.1116, allocations: 36 kB / 462.6 MB, free: 3.934 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 9.828e-05/0.1118, allocations: 103.1 kB / 462.7 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007657/0.1125, allocations: 318.5 kB / 463 MB, free: 3.496 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1125, allocations: 4.062 kB / 463 MB, free: 3.492 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003131/0.1129, allocations: 222.5 kB / 463.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.1131, allocations: 12.22 kB / 463.2 MB, free: 3.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.1135, allocations: 274.9 kB / 463.5 MB, free: 2.957 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.1138, allocations: 0.7046 MB / 464.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.1138, allocations: 11.44 kB / 464.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1138, allocations: 3.938 kB / 464.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of Templates: time 0.003257/0.1171, allocations: 1.655 MB / 465.9 MB, free: 0.5625 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)