Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.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.TwoVolumesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008333/0.0008332, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0008368/0.0008369, allocations: 168.7 kB / 15.95 MB, free: 204 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.551/1.551, allocations: 223.3 MB / 240 MB, free: 5.387 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.002522/0.002522, allocations: 0.554 MB / 291.6 MB, free: 1.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003481, allocations: 4 kB / 352.7 MB, free: 2.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1353, allocations: 50.57 MB / 403.3 MB, free: 216 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.297/0.4324, allocations: 292.7 kB / 403.5 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002712/0.4327, allocations: 46.92 kB / 403.6 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.594e-05/0.4327, allocations: 0 / 403.6 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.4328, allocations: 8.281 kB / 403.6 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.4329, allocations: 9.047 kB / 403.6 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.433, allocations: 15.08 kB / 403.6 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.4331, allocations: 40.12 kB / 403.7 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.159e-05/0.4332, allocations: 3.344 kB / 403.7 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.7e-05/0.4333, allocations: 20.8 kB / 403.7 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.4334, allocations: 29.91 kB / 403.7 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.4335, allocations: 3.219 kB / 403.7 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.958e-05/0.4335, allocations: 3.625 kB / 403.7 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.605e-05/0.4335, allocations: 9.797 kB / 403.7 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.4336, allocations: 42.28 kB / 403.8 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.586e-05/0.4336, allocations: 19.06 kB / 403.8 MB, free: 9.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4337, allocations: 0 / 403.8 MB, free: 9.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4337, allocations: 0 / 403.8 MB, free: 9.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.4337, allocations: 1 kB / 403.8 MB, free: 9.73 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.0005742/0.4343, allocations: 367 kB / 404.1 MB, free: 9.367 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.4343, allocations: 8.5 kB / 404.1 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.4344, allocations: 9 kB / 404.2 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.4345, allocations: 171 kB / 404.3 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.4346, allocations: 2.844 kB / 404.3 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.4346, allocations: 9.406 kB / 404.3 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.4348, allocations: 78.17 kB / 404.4 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.4348, allocations: 0.5625 kB / 404.4 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.4349, allocations: 1.172 kB / 404.4 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.4349, allocations: 1.688 kB / 404.4 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.435, allocations: 37.25 kB / 404.5 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006049/0.4356, allocations: 311.8 kB / 404.8 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.436, allocations: 129.3 kB / 404.9 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.602e-05/0.4361, allocations: 35.78 kB / 404.9 MB, free: 8.812 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.4361, allocations: 1.312 kB / 404.9 MB, free: 8.812 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.4362, allocations: 35.56 kB / 405 MB, free: 8.773 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.4362, allocations: 0 / 405 MB, free: 8.773 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003768/0.4399, allocations: 0.9416 MB / 405.9 MB, free: 8.461 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.44, allocations: 52.53 kB / 405.9 MB, free: 8.398 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.4401, allocations: 110.6 kB / 406.1 MB, free: 8.297 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.4401, allocations: 30.91 kB / 406.1 MB, free: 8.266 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.4402, allocations: 94.98 kB / 406.2 MB, free: 8.172 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/0.4403, allocations: 64 kB / 406.2 MB, free: 8.133 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-06/0.4403, allocations: 4 kB / 406.2 MB, free: 8.129 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.784e-05/0.4404, allocations: 326.2 kB / 406.6 MB, free: 7.812 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.659e-05/0.4405, allocations: 45.33 kB / 406.6 MB, free: 7.809 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.4406, allocations: 64.38 kB / 406.7 MB, free: 7.793 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/0.4434, allocations: 490.4 kB / 407.1 MB, free: 7.68 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4434, allocations: 0 / 407.1 MB, free: 7.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001096/0.4445, allocations: 283.2 kB / 407.4 MB, free: 7.617 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.4445, allocations: 5.906 kB / 407.4 MB, free: 7.617 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.4445, allocations: 0 / 407.4 MB, free: 7.617 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.4457, allocations: 184.7 kB / 407.6 MB, free: 7.602 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.517e-05/0.4458, allocations: 22.62 kB / 407.6 MB, free: 7.598 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/0.4485, allocations: 1.806 MB / 409.4 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.986e-05/0.4486, allocations: 8.062 kB / 409.4 MB, free: 6.223 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.4486, allocations: 11.56 kB / 409.5 MB, free: 6.219 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: p1 = 100000.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 (13): * Single equations (assignments): 12 * 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 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001784/0.4488, allocations: 115 kB / 409.6 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.4489, allocations: 8.594 kB / 409.6 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.239e-05/0.4489, allocations: 19.72 kB / 409.6 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4489, allocations: 5.906 kB / 409.6 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.449, allocations: 2.031 kB / 409.6 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.449, allocations: 5.219 kB / 409.6 MB, free: 6.086 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.4504, allocations: 0.5729 MB / 410.2 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.4504, allocations: 2.094 kB / 410.2 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/0.4505, allocations: 12.98 kB / 410.2 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002025/0.4525, allocations: 311.8 kB / 410.5 MB, free: 5.723 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.4525, allocations: 6.141 kB / 410.5 MB, free: 5.723 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002503/0.455, allocations: 1.806 MB / 412.3 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4551, allocations: 5.594 kB / 412.3 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.4562, allocations: 438.5 kB / 412.8 MB, free: 3.98 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.4563, allocations: 85.3 kB / 412.8 MB, free: 3.883 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.4563, allocations: 1.094 kB / 412.8 MB, free: 3.883 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.874e-05/0.4564, allocations: 10.89 kB / 412.8 MB, free: 3.875 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.4565, allocations: 12.16 kB / 412.9 MB, free: 3.875 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.4565, allocations: 10.22 kB / 412.9 MB, free: 3.871 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.751e-05/0.4566, allocations: 82.84 kB / 412.9 MB, free: 3.797 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.953e-06/0.4566, allocations: 0 / 412.9 MB, free: 3.797 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004242/0.457, allocations: 43.31 kB / 413 MB, free: 3.781 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (p2,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 (9): * Single equations (assignments): 8 * 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 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001233/0.4571, allocations: 97.09 kB / 413.1 MB, free: 3.688 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008355/0.458, allocations: 312.3 kB / 413.4 MB, free: 3.512 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.458, allocations: 1.156 kB / 413.4 MB, free: 3.512 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005415/0.4585, allocations: 262.2 kB / 413.6 MB, free: 3.348 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.4588, allocations: 16.06 kB / 413.7 MB, free: 3.336 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005211/0.4593, allocations: 274 kB / 413.9 MB, free: 3.133 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.4595, allocations: 0.7071 MB / 414.6 MB, free: 2.434 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.757e-05/0.4596, allocations: 4.953 kB / 414.6 MB, free: 2.434 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.4596, allocations: 11.25 kB / 414.7 MB, free: 2.426 MB / 286.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4596, allocations: 192 / 414.7 MB, free: 2.426 MB / 286.1 MB Notification: Performance of Templates: time 0.00618/0.4658, allocations: 1.664 MB / 416.3 MB, free: 2.328 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe 2>&1)