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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 222.9 MB / 239.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009737/0.0009736, allocations: 107.5 kB / 289.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002908/0.002908, allocations: 0.5574 MB / 340.6 MB, free: 8.211 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 51.05 kB / 400.9 MB, free: 66.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08859/0.08963, allocations: 49.6 MB / 450.5 MB, free: 16.47 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.001604/0.09129, allocations: 0.6361 MB / 451.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001776/0.09149, allocations: 39.88 kB / 451.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/0.09153, allocations: 8 kB / 451.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.09156, allocations: 3.938 kB / 451.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.668e-05/0.09164, allocations: 3.984 kB / 451.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.089e-05/0.09172, allocations: 15.92 kB / 451.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.172e-05/0.09179, allocations: 47.84 kB / 451.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.392e-05/0.09186, allocations: 15.97 kB / 451.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.758e-05/0.09189, allocations: 19.92 kB / 451.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.677e-05/0.09197, allocations: 27.84 kB / 451.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.09199, allocations: 4 kB / 451.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.365e-05/0.09201, allocations: 4 kB / 451.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.09203, allocations: 15.98 kB / 451.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.09207, allocations: 31.78 kB / 451.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.967e-05/0.09213, allocations: 23.89 kB / 451.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.09215, allocations: 4 kB / 451.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.09215, allocations: 0 / 451.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.705e-06/0.09216, allocations: 0 / 451.4 MB, free: 15.57 MB / 298.7 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.0004082/0.09257, allocations: 375.6 kB / 451.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.09261, allocations: 12.03 kB / 451.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.09265, allocations: 4.938 kB / 451.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.257e-05/0.09275, allocations: 176.2 kB / 452 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.09276, allocations: 4.375 kB / 452 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.0928, allocations: 8.375 kB / 452 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.0929, allocations: 70.22 kB / 452.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.09292, allocations: 192 / 452.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.09293, allocations: 11.88 kB / 452.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.09294, allocations: 0 / 452.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.4e-05/0.09301, allocations: 35.98 kB / 452.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.09339, allocations: 316.7 kB / 452.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.09362, allocations: 114.4 kB / 452.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/0.09367, allocations: 36.84 kB / 452.6 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.09369, allocations: 0 / 452.6 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.221e-05/0.09371, allocations: 34.56 kB / 452.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 8.92e-07/0.09372, allocations: 0 / 452.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.002878/0.0966, allocations: 0.8525 MB / 453.5 MB, free: 13.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.09663, allocations: 55.41 kB / 453.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.491e-05/0.09669, allocations: 113.8 kB / 453.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.09671, allocations: 29.7 kB / 453.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/0.09674, allocations: 91.91 kB / 453.7 MB, free: 13.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.09677, allocations: 55.19 kB / 453.8 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.09682, allocations: 37.66 kB / 453.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.063e-05/0.09687, allocations: 326.8 kB / 454.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.768e-05/0.09693, allocations: 35.98 kB / 454.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.584e-05/0.097, allocations: 61.69 kB / 454.3 MB, free: 12.48 MB / 298.7 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.002448/0.09946, allocations: 483 kB / 454.7 MB, free: 12.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.09947, allocations: 0 / 454.7 MB, free: 12.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001377/0.1008, allocations: 329.9 kB / 455 MB, free: 11.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1009, allocations: 4 kB / 455 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1009, allocations: 0 / 455 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/0.1026, allocations: 264.6 kB / 455.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.357e-05/0.1027, allocations: 15.94 kB / 455.3 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/0.1053, allocations: 1.796 MB / 457.1 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.615e-05/0.1054, allocations: 8.062 kB / 457.1 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1054, allocations: 7.938 kB / 457.1 MB, free: 9.453 MB / 298.7 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.0001418/0.1056, allocations: 133.7 kB / 457.3 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.1056, allocations: 15.83 kB / 457.3 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.1056, allocations: 20.44 kB / 457.3 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1056, allocations: 0 / 457.3 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1056, allocations: 4 kB / 457.3 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1057, allocations: 0 / 457.3 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.1058, allocations: 197.6 kB / 457.5 MB, free: 9.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1058, allocations: 0 / 457.5 MB, free: 9.031 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.908e-05/0.1059, allocations: 8 kB / 457.5 MB, free: 9.023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/0.1076, allocations: 280.4 kB / 457.8 MB, free: 8.746 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.1076, allocations: 3.938 kB / 457.8 MB, free: 8.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/0.1092, allocations: 1.737 MB / 459.5 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1093, allocations: 4 kB / 459.5 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008657/0.1179, allocations: 4.214 MB / 463.7 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.654e-05/0.118, allocations: 81.02 kB / 463.8 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.118, allocations: 8 kB / 463.8 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1181, allocations: 4.031 kB / 463.8 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.1181, allocations: 11.92 kB / 463.8 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.1181, allocations: 8 kB / 463.8 MB, free: 2.238 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.748e-05/0.1182, allocations: 87.66 kB / 463.9 MB, free: 2.152 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1182, allocations: 0 / 463.9 MB, free: 2.152 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004079/0.1186, allocations: 56 kB / 464 MB, free: 2.098 MB / 298.7 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.255e-05/0.1187, allocations: 99.19 kB / 464.1 MB, free: 1.988 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006878/0.1194, allocations: 321.3 kB / 464.4 MB, free: 1.664 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.1194, allocations: 0 / 464.4 MB, free: 1.664 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.1197, allocations: 222.5 kB / 464.6 MB, free: 1.434 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.1199, allocations: 4 kB / 464.6 MB, free: 1.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006342/0.1205, allocations: 0.5851 MB / 465.2 MB, free: 0.793 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.1207, allocations: 0.7089 MB / 465.9 MB, free: 60 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.674e-05/0.1207, allocations: 4.562 kB / 465.9 MB, free: 56 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.1208, allocations: 11.44 kB / 465.9 MB, free: 44 kB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1208, allocations: 0 / 465.9 MB, free: 44 kB / 298.7 MB Notification: Performance of Templates: time 0.006078/0.1268, allocations: 3.495 MB / 469.4 MB, free: 12.6 MB / 314.7 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)