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.00731/0.00731, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001646/0.001646, allocations: 195.3 kB / 16.79 MB, free: 6.254 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.789/1.789, allocations: 222.9 MB / 240.5 MB, free: 4.465 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.003427/0.003427, allocations: 0.5621 MB / 291.2 MB, free: 1.797 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 351.5 MB, free: 2.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1113, allocations: 49.59 MB / 401.1 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.001964/0.1133, allocations: 0.6261 MB / 401.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002073/0.1135, allocations: 55.8 kB / 401.8 MB, free: 468 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.038e-05/0.1136, allocations: 0 / 401.8 MB, free: 468 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.09e-05/0.1136, allocations: 3.938 kB / 401.8 MB, free: 464 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.861e-05/0.1137, allocations: 0 / 401.8 MB, free: 464 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.294e-05/0.1138, allocations: 19.92 kB / 401.8 MB, free: 444 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.331e-05/0.1139, allocations: 47.88 kB / 401.9 MB, free: 396 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.805e-05/0.1139, allocations: 7.938 kB / 401.9 MB, free: 388 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.359e-05/0.114, allocations: 27.92 kB / 401.9 MB, free: 360 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.778e-05/0.114, allocations: 27.84 kB / 401.9 MB, free: 332 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.1141, allocations: 4 kB / 401.9 MB, free: 328 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.507e-05/0.1141, allocations: 4 kB / 401.9 MB, free: 324 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.1141, allocations: 19.91 kB / 402 MB, free: 304 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.1142, allocations: 23.86 kB / 402 MB, free: 280 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.193e-05/0.1142, allocations: 11.97 kB / 402 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1142, allocations: 4 kB / 402 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1143, allocations: 0 / 402 MB, free: 264 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.1143, allocations: 0 / 402 MB, free: 264 kB / 286.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.18/0.2943, allocations: 368.7 kB / 402.4 MB, free: 10.76 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.2943, allocations: 9.344 kB / 402.4 MB, free: 10.76 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.2944, allocations: 8.25 kB / 402.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.2945, allocations: 178.6 kB / 402.6 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.2945, allocations: 7.156 kB / 402.6 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.2946, allocations: 8 kB / 402.6 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.2947, allocations: 66.38 kB / 402.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2947, allocations: 4.5 kB / 402.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.2947, allocations: 8.297 kB / 402.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.2948, allocations: 2.031 kB / 402.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.841e-05/0.2949, allocations: 37.06 kB / 402.7 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/0.2953, allocations: 306.7 kB / 403 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.2957, allocations: 111.9 kB / 403.1 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.525e-05/0.2958, allocations: 37.59 kB / 403.1 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.2958, allocations: 1.188 kB / 403.1 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.2958, allocations: 44.62 kB / 403.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.2958, allocations: 0.7188 kB / 403.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.003681/0.2995, allocations: 0.8538 MB / 404 MB, free: 9.895 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.2995, allocations: 57.69 kB / 404.1 MB, free: 9.828 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.534e-05/0.2996, allocations: 112.9 kB / 404.2 MB, free: 9.727 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.2996, allocations: 26.73 kB / 404.2 MB, free: 9.695 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.2997, allocations: 99.48 kB / 404.3 MB, free: 9.605 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.2997, allocations: 52.44 kB / 404.4 MB, free: 9.574 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.2998, allocations: 33.72 kB / 404.4 MB, free: 9.559 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.323e-05/0.2999, allocations: 323.1 kB / 404.7 MB, free: 9.242 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.972e-05/0.2999, allocations: 44.66 kB / 404.8 MB, free: 9.238 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.842e-05/0.3, allocations: 58.34 kB / 404.8 MB, free: 9.223 MB / 286.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.002611/0.3026, allocations: 476.3 kB / 405.3 MB, free: 9.191 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3027, allocations: 1.125 kB / 405.3 MB, free: 9.191 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00164/0.3043, allocations: 334.4 kB / 405.6 MB, free: 9.098 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.3043, allocations: 8.438 kB / 405.6 MB, free: 9.098 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3044, allocations: 4.594 kB / 405.6 MB, free: 9.098 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001853/0.3062, allocations: 260.6 kB / 405.9 MB, free: 9.066 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.3063, allocations: 16.14 kB / 405.9 MB, free: 9.066 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003147/0.3095, allocations: 1.796 MB / 407.7 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.798e-05/0.3096, allocations: 10.67 kB / 407.7 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.3096, allocations: 11.17 kB / 407.7 MB, free: 7.562 MB / 286.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.0001907/0.3098, allocations: 119.3 kB / 407.8 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.3098, allocations: 7.812 kB / 407.8 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.93e-05/0.3099, allocations: 24.81 kB / 407.9 MB, free: 7.418 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3099, allocations: 2.188 kB / 407.9 MB, free: 7.418 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.3099, allocations: 0.9688 kB / 407.9 MB, free: 7.418 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3099, allocations: 1.828 kB / 407.9 MB, free: 7.418 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.3101, allocations: 199.7 kB / 408.1 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3102, allocations: 4.906 kB / 408.1 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.78e-05/0.3102, allocations: 10.25 kB / 408.1 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001923/0.3122, allocations: 267 kB / 408.3 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.3122, allocations: 14.59 kB / 408.4 MB, free: 7.172 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/0.3141, allocations: 1.736 MB / 410.1 MB, free: 5.656 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3141, allocations: 1.125 kB / 410.1 MB, free: 5.656 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.3152, allocations: 416 kB / 410.5 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.3152, allocations: 84.23 kB / 410.6 MB, free: 5.332 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.3152, allocations: 9.781 kB / 410.6 MB, free: 5.324 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.3153, allocations: 1.344 kB / 410.6 MB, free: 5.324 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.3154, allocations: 11.25 kB / 410.6 MB, free: 5.324 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.3154, allocations: 8.781 kB / 410.6 MB, free: 5.32 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.712e-05/0.3155, allocations: 83.92 kB / 410.7 MB, free: 5.246 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3155, allocations: 0 / 410.7 MB, free: 5.246 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000342/0.3158, allocations: 36.91 kB / 410.7 MB, free: 5.238 MB / 286.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.067e-05/0.3159, allocations: 110 kB / 410.8 MB, free: 5.133 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007794/0.3167, allocations: 318.5 kB / 411.1 MB, free: 4.953 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3167, allocations: 4.062 kB / 411.1 MB, free: 4.949 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.317, allocations: 219 kB / 411.4 MB, free: 4.801 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.3173, allocations: 8.875 kB / 411.4 MB, free: 4.797 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004597/0.3178, allocations: 292.9 kB / 411.7 MB, free: 4.559 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.318, allocations: 0.7014 MB / 412.4 MB, free: 3.863 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.318, allocations: 12.31 kB / 412.4 MB, free: 3.855 MB / 286.1 MB Notification: Performance of SimCode: time 2.81e-07/0.318, allocations: 0 / 412.4 MB, free: 3.855 MB / 286.1 MB Notification: Performance of Templates: time 0.004056/0.3221, allocations: 1.641 MB / 414 MB, free: 3.789 MB / 286.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)