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.001532/0.001532, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002254/0.002255, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.54/1.54, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.003318/0.003318, allocations: 0.5701 MB / 290.9 MB, free: 1.695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 67.89 kB / 351.6 MB, free: 2.324 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.146, allocations: 49.59 MB / 401.1 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.002185/0.1482, allocations: 0.5716 MB / 401.7 MB, free: 120 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003526/0.1486, allocations: 51.8 kB / 401.8 MB, free: 68 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.1487, allocations: 0 / 401.8 MB, free: 68 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.1487, allocations: 3.938 kB / 401.8 MB, free: 64 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.479e-05/0.1488, allocations: 7.875 kB / 401.8 MB, free: 56 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.1489, allocations: 19.97 kB / 401.8 MB, free: 36 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.2544/0.4034, allocations: 44.34 kB / 401.8 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.4036, allocations: 5.312 kB / 401.8 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.559e-05/0.4037, allocations: 27.08 kB / 401.9 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.4038, allocations: 34.05 kB / 401.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.255e-05/0.4039, allocations: 3.938 kB / 401.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.412e-05/0.4039, allocations: 2.844 kB / 401.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.4039, allocations: 9.172 kB / 401.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.589e-05/0.404, allocations: 26.41 kB / 401.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.4042, allocations: 31.62 kB / 402 MB, free: 10.29 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.4042, allocations: 0 / 402 MB, free: 10.29 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.4042, allocations: 2.875 kB / 402 MB, free: 10.29 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.4042, allocations: 0 / 402 MB, free: 10.29 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.0006776/0.4049, allocations: 376.8 kB / 402.3 MB, free: 9.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.4049, allocations: 13.67 kB / 402.4 MB, free: 9.926 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.405, allocations: 8.969 kB / 402.4 MB, free: 9.922 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.4052, allocations: 172.5 kB / 402.5 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.4052, allocations: 9.188 kB / 402.5 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.4052, allocations: 9.656 kB / 402.6 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.4054, allocations: 67.44 kB / 402.6 MB, free: 9.688 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4054, allocations: 192 / 402.6 MB, free: 9.688 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.4054, allocations: 12.39 kB / 402.6 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.4054, allocations: 2.25 kB / 402.6 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.518e-05/0.4055, allocations: 35.03 kB / 402.7 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005861/0.4061, allocations: 304.8 kB / 403 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.4065, allocations: 111.5 kB / 403.1 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.204e-05/0.4066, allocations: 35.22 kB / 403.1 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.4066, allocations: 5.75 kB / 403.1 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.4066, allocations: 35.12 kB / 403.2 MB, free: 9.332 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.4066, allocations: 0.6875 kB / 403.2 MB, free: 9.332 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.003411/0.41, allocations: 0.8603 MB / 404 MB, free: 9.035 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.4101, allocations: 52.38 kB / 404.1 MB, free: 8.973 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.863e-05/0.4102, allocations: 109.9 kB / 404.2 MB, free: 8.875 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.4102, allocations: 26.83 kB / 404.2 MB, free: 8.844 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/0.4103, allocations: 93.89 kB / 404.3 MB, free: 8.754 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.4103, allocations: 60.05 kB / 404.3 MB, free: 8.719 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.4104, allocations: 34.58 kB / 404.4 MB, free: 8.703 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.4104, allocations: 326.6 kB / 404.7 MB, free: 8.383 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-05/0.4105, allocations: 40.16 kB / 404.7 MB, free: 8.383 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.4106, allocations: 57.91 kB / 404.8 MB, free: 8.367 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.00258/0.4132, allocations: 478.7 kB / 405.3 MB, free: 8.336 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4132, allocations: 1.188 kB / 405.3 MB, free: 8.336 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001414/0.4147, allocations: 331.9 kB / 405.6 MB, free: 8.277 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.4147, allocations: 5.219 kB / 405.6 MB, free: 8.277 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4147, allocations: 0 / 405.6 MB, free: 8.277 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/0.4165, allocations: 264.8 kB / 405.9 MB, free: 8.258 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.628e-05/0.4166, allocations: 20.31 kB / 405.9 MB, free: 8.254 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003044/0.4196, allocations: 1.942 MB / 407.8 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.422e-05/0.4197, allocations: 6.484 kB / 407.8 MB, free: 6.668 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.4197, allocations: 3.469 kB / 407.8 MB, free: 6.668 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.0001992/0.4199, allocations: 120.3 kB / 407.9 MB, free: 6.547 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.42, allocations: 15.45 kB / 408 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.42, allocations: 18.98 kB / 408 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.42, allocations: 2.031 kB / 408 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.42, allocations: 4.641 kB / 408 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.4201, allocations: 6.688 kB / 408 MB, free: 6.52 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.4203, allocations: 203.1 kB / 408.2 MB, free: 6.309 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.4203, allocations: 3.938 kB / 408.2 MB, free: 6.305 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.559e-05/0.4203, allocations: 10.3 kB / 408.2 MB, free: 6.305 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001798/0.4221, allocations: 276.7 kB / 408.5 MB, free: 6.273 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.4222, allocations: 6.609 kB / 408.5 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.4241, allocations: 1.939 MB / 410.4 MB, free: 4.562 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4241, allocations: 0 / 410.4 MB, free: 4.562 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.4251, allocations: 405.4 kB / 410.8 MB, free: 4.34 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.4252, allocations: 83.95 kB / 410.9 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.4252, allocations: 5.578 kB / 410.9 MB, free: 4.238 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.4253, allocations: 5.188 kB / 410.9 MB, free: 4.234 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.4254, allocations: 18.19 kB / 410.9 MB, free: 4.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.4254, allocations: 9.078 kB / 410.9 MB, free: 4.227 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.148e-05/0.4254, allocations: 83.88 kB / 411 MB, free: 4.152 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4255, allocations: 0 / 411 MB, free: 4.152 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003395/0.4258, allocations: 36.72 kB / 411 MB, free: 4.145 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.987e-05/0.4259, allocations: 101.5 kB / 411.1 MB, free: 4.047 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008687/0.4268, allocations: 329.2 kB / 411.5 MB, free: 3.867 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4268, allocations: 4.938 kB / 411.5 MB, free: 3.863 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.4271, allocations: 226.1 kB / 411.7 MB, free: 3.707 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.4274, allocations: 8.438 kB / 411.7 MB, free: 3.703 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004377/0.4278, allocations: 237.9 kB / 411.9 MB, free: 3.527 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.428, allocations: 0.7085 MB / 412.6 MB, free: 2.824 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.894e-05/0.428, allocations: 4.953 kB / 412.6 MB, free: 2.824 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.4281, allocations: 11.56 kB / 412.7 MB, free: 2.816 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4281, allocations: 0 / 412.7 MB, free: 2.816 MB / 286.1 MB Notification: Performance of Templates: time 0.006435/0.4345, allocations: 2.363 MB / 415 MB, free: 2.688 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)