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.0009063/0.0009062, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.0008389/0.000839, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 223.2 MB / 239.9 MB, free: 5.352 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.002536/0.002536, allocations: 0.543 MB / 291.5 MB, free: 1.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002455/0.0002455, allocations: 8 kB / 352.6 MB, free: 2.852 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08259/0.08285, allocations: 50.57 MB / 403.1 MB, free: 248 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.1351/0.218, allocations: 292.5 kB / 403.4 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001758/0.2182, allocations: 43.88 kB / 403.5 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.2182, allocations: 0.7812 kB / 403.5 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.35e-05/0.2182, allocations: 5.719 kB / 403.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.026e-05/0.2183, allocations: 10.53 kB / 403.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.568e-05/0.2184, allocations: 11.58 kB / 403.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.405e-05/0.2184, allocations: 31.67 kB / 403.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.2185, allocations: 3.453 kB / 403.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.029e-05/0.2185, allocations: 23.38 kB / 403.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.756e-05/0.2186, allocations: 29.81 kB / 403.6 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.2186, allocations: 3.406 kB / 403.6 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.2186, allocations: 4 kB / 403.6 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.2186, allocations: 15.88 kB / 403.6 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.2187, allocations: 35.7 kB / 403.6 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.024e-05/0.2187, allocations: 16.47 kB / 403.7 MB, free: 9.754 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.502e-06/0.2187, allocations: 0 / 403.7 MB, free: 9.754 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2187, allocations: 0.5312 kB / 403.7 MB, free: 9.754 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.2187, allocations: 7.938 kB / 403.7 MB, free: 9.746 MB / 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.00035/0.2191, allocations: 366.8 kB / 404 MB, free: 9.387 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.2191, allocations: 9 kB / 404 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.2192, allocations: 7.406 kB / 404 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.642e-05/0.2192, allocations: 172.3 kB / 404.2 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.2193, allocations: 3.531 kB / 404.2 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.2193, allocations: 12.66 kB / 404.2 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.2194, allocations: 73.38 kB / 404.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2194, allocations: 2.75 kB / 404.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.2194, allocations: 1.188 kB / 404.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2194, allocations: 0.9375 kB / 404.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.448e-05/0.2195, allocations: 38.12 kB / 404.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.2199, allocations: 301.7 kB / 404.6 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.2201, allocations: 115.3 kB / 404.7 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.2201, allocations: 5.406 kB / 404.8 MB, free: 8.84 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.371e-05/0.2202, allocations: 32.53 kB / 404.8 MB, free: 8.801 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.2202, allocations: 224 / 404.8 MB, free: 8.801 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002861/0.223, allocations: 0.8605 MB / 405.6 MB, free: 8.5 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.2231, allocations: 53.91 kB / 405.7 MB, free: 8.438 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.121e-05/0.2231, allocations: 123.5 kB / 405.8 MB, free: 8.328 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.2231, allocations: 28.95 kB / 405.8 MB, free: 8.297 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.576e-05/0.2232, allocations: 90.91 kB / 405.9 MB, free: 8.211 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.2232, allocations: 59.89 kB / 406 MB, free: 8.172 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.2232, allocations: 0.625 kB / 406 MB, free: 8.172 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.403e-05/0.2232, allocations: 322 kB / 406.3 MB, free: 7.859 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.2233, allocations: 35.95 kB / 406.3 MB, free: 7.859 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.296e-05/0.2234, allocations: 69.44 kB / 406.4 MB, free: 7.836 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.002377/0.2258, allocations: 393.3 kB / 406.8 MB, free: 7.82 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.2258, allocations: 0 / 406.8 MB, free: 7.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001328/0.2271, allocations: 334.8 kB / 407.1 MB, free: 7.758 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2271, allocations: 11.25 kB / 407.1 MB, free: 7.754 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2272, allocations: 5.891 kB / 407.1 MB, free: 7.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001862/0.229, allocations: 297.9 kB / 407.4 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.2291, allocations: 19.52 kB / 407.5 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002975/0.2321, allocations: 1.941 MB / 409.4 MB, free: 6.344 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.61e-05/0.2322, allocations: 4.484 kB / 409.4 MB, free: 6.344 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.2322, allocations: 7.625 kB / 409.4 MB, free: 6.344 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 sytem: $DER.M2 = 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.2324, allocations: 118.8 kB / 409.5 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.2324, allocations: 7.5 kB / 409.5 MB, free: 6.223 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.2324, allocations: 18.47 kB / 409.5 MB, free: 6.219 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2324, allocations: 8.172 kB / 409.6 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.2324, allocations: 0 / 409.6 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2325, allocations: 4.25 kB / 409.6 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.2326, allocations: 195.7 kB / 409.7 MB, free: 6.027 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2326, allocations: 7.953 kB / 409.8 MB, free: 6.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-05/0.2327, allocations: 15.84 kB / 409.8 MB, free: 6.016 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/0.2346, allocations: 297.5 kB / 410.1 MB, free: 5.992 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.2346, allocations: 5.734 kB / 410.1 MB, free: 5.992 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/0.2363, allocations: 1.781 MB / 411.9 MB, free: 4.574 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2364, allocations: 0.5625 kB / 411.9 MB, free: 4.574 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009473/0.2373, allocations: 414.3 kB / 412.3 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/0.2374, allocations: 84.89 kB / 412.3 MB, free: 4.25 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.2374, allocations: 1.672 kB / 412.3 MB, free: 4.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.758e-05/0.2375, allocations: 9.703 kB / 412.3 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.2375, allocations: 17.41 kB / 412.4 MB, free: 4.238 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.2375, allocations: 11.56 kB / 412.4 MB, free: 4.23 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.939e-05/0.2376, allocations: 83.56 kB / 412.5 MB, free: 4.156 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2376, allocations: 0 / 412.5 MB, free: 4.156 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003301/0.2379, allocations: 36.41 kB / 412.5 MB, free: 4.148 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.435e-05/0.238, allocations: 96.39 kB / 412.6 MB, free: 4.055 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006751/0.2387, allocations: 316.4 kB / 412.9 MB, free: 3.879 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2387, allocations: 4.062 kB / 412.9 MB, free: 3.875 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.239, allocations: 220 kB / 413.1 MB, free: 3.727 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.2391, allocations: 9.172 kB / 413.1 MB, free: 3.719 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.2394, allocations: 265.3 kB / 413.4 MB, free: 3.516 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.2395, allocations: 0.7075 MB / 414.1 MB, free: 2.812 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.552e-05/0.2395, allocations: 6.328 kB / 414.1 MB, free: 2.812 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.2396, allocations: 11.66 kB / 414.1 MB, free: 2.805 MB / 286.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2396, allocations: 0 / 414.1 MB, free: 2.805 MB / 286.1 MB Notification: Performance of Templates: time 0.004152/0.2437, allocations: 2.066 MB / 416.2 MB, free: 2.68 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: