Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.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.TwoVolumesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 100.1 kB / 15.88 MB, free: 12 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.002342/0.002343, allocations: 198.4 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.34/2.34, allocations: 222.9 MB / 240.5 MB, free: 4.621 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.002825/0.002825, allocations: 0.5623 MB / 291.2 MB, free: 1.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 351.5 MB, free: 2.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1088, allocations: 49.59 MB / 401.1 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial): time 0.002019/0.1109, allocations: 0.6406 MB / 401.8 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002041/0.1111, allocations: 51.8 kB / 401.8 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.1111, allocations: 0 / 401.8 MB, free: 492 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.144e-05/0.1112, allocations: 4 kB / 401.8 MB, free: 488 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.132e-05/0.1113, allocations: 7.938 kB / 401.8 MB, free: 480 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.486e-05/0.1114, allocations: 11.98 kB / 401.8 MB, free: 468 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.221e-05/0.1114, allocations: 47.84 kB / 401.9 MB, free: 420 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.1115, allocations: 0 / 401.9 MB, free: 420 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.636e-05/0.1116, allocations: 23.92 kB / 401.9 MB, free: 396 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.359e-05/0.1116, allocations: 27.84 kB / 401.9 MB, free: 368 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1117, allocations: 4 kB / 401.9 MB, free: 364 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.725e-05/0.1117, allocations: 4 kB / 401.9 MB, free: 360 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.002e-05/0.1117, allocations: 15.97 kB / 402 MB, free: 344 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.1118, allocations: 19.86 kB / 402 MB, free: 324 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.713e-05/0.1118, allocations: 19.91 kB / 402 MB, free: 304 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1118, allocations: 0 / 402 MB, free: 304 kB / 286.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1118, allocations: 3.938 kB / 402 MB, free: 300 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1118, allocations: 0 / 402 MB, free: 300 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.2094/0.3213, allocations: 372.2 kB / 402.4 MB, free: 10.79 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.3213, allocations: 10.16 kB / 402.4 MB, free: 10.79 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.3214, allocations: 7.438 kB / 402.4 MB, free: 10.79 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.3215, allocations: 174 kB / 402.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.3215, allocations: 4.703 kB / 402.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.3216, allocations: 7.719 kB / 402.6 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.3217, allocations: 65.2 kB / 402.6 MB, free: 10.56 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3217, allocations: 0.7031 kB / 402.6 MB, free: 10.56 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.3218, allocations: 10.78 kB / 402.6 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3218, allocations: 2.438 kB / 402.6 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.3219, allocations: 40.94 kB / 402.7 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.3224, allocations: 307.6 kB / 403 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.3227, allocations: 114.5 kB / 403.1 MB, free: 10.26 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.41e-05/0.3228, allocations: 40.2 kB / 403.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.3228, allocations: 1.062 kB / 403.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.3228, allocations: 33.25 kB / 403.2 MB, free: 10.21 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.3228, allocations: 0 / 403.2 MB, free: 10.21 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.003442/0.3263, allocations: 0.8559 MB / 404 MB, free: 9.93 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.3263, allocations: 53.69 kB / 404.1 MB, free: 9.867 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.75e-05/0.3264, allocations: 118 kB / 404.2 MB, free: 9.762 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3264, allocations: 26.92 kB / 404.2 MB, free: 9.73 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.3265, allocations: 93.92 kB / 404.3 MB, free: 9.641 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.3265, allocations: 60.09 kB / 404.4 MB, free: 9.605 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.3266, allocations: 32.47 kB / 404.4 MB, free: 9.59 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.551e-05/0.3267, allocations: 323.7 kB / 404.7 MB, free: 9.273 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.942e-05/0.3267, allocations: 41.97 kB / 404.7 MB, free: 9.273 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.151e-05/0.3268, allocations: 57.86 kB / 404.8 MB, free: 9.258 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.327, allocations: 108.2 kB / 404.9 MB, free: 9.238 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.327, allocations: 0 / 404.9 MB, free: 9.238 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009459/0.328, allocations: 270.3 kB / 405.2 MB, free: 9.176 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.328, allocations: 5.875 kB / 405.2 MB, free: 9.176 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.328, allocations: 0.8594 kB / 405.2 MB, free: 9.176 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009872/0.329, allocations: 151.7 kB / 405.3 MB, free: 9.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.875e-05/0.3291, allocations: 16.03 kB / 405.3 MB, free: 9.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.3311, allocations: 1.746 MB / 407.1 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.184e-05/0.3312, allocations: 2.891 kB / 407.1 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.3312, allocations: 7.281 kB / 407.1 MB, free: 7.621 MB / 286.1 MB 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 (12): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 8.632e-05/0.3313, allocations: 122.4 kB / 407.2 MB, free: 7.496 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.3313, allocations: 8.984 kB / 407.2 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.3314, allocations: 22.48 kB / 407.3 MB, free: 7.473 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3314, allocations: 1.859 kB / 407.3 MB, free: 7.473 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.3314, allocations: 5.281 kB / 407.3 MB, free: 7.473 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3314, allocations: 4.594 kB / 407.3 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.3316, allocations: 196.9 kB / 407.5 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3316, allocations: 1.125 kB / 407.5 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.3316, allocations: 13.53 kB / 407.5 MB, free: 7.262 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001888/0.3335, allocations: 275.7 kB / 407.7 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.3336, allocations: 11.23 kB / 407.7 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002951/0.3365, allocations: 1.742 MB / 409.5 MB, free: 5.691 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3366, allocations: 0.875 kB / 409.5 MB, free: 5.691 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.3383, allocations: 413.5 kB / 409.9 MB, free: 5.469 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.3384, allocations: 84.47 kB / 410 MB, free: 5.371 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.3384, allocations: 1.812 kB / 410 MB, free: 5.371 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.3386, allocations: 9.078 kB / 410 MB, free: 5.363 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.3387, allocations: 11.2 kB / 410 MB, free: 5.363 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.3387, allocations: 4.484 kB / 410 MB, free: 5.363 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.419e-05/0.3388, allocations: 87.84 kB / 410.1 MB, free: 5.285 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3388, allocations: 0 / 410.1 MB, free: 5.285 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006757/0.3395, allocations: 33.09 kB / 410.1 MB, free: 5.277 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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 0.0001248/0.3396, allocations: 101.5 kB / 410.2 MB, free: 5.18 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008174/0.3405, allocations: 282.8 kB / 410.5 MB, free: 5.004 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3405, allocations: 0 / 410.5 MB, free: 5.004 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004254/0.3409, allocations: 220.8 kB / 410.7 MB, free: 4.852 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.3413, allocations: 10.42 kB / 410.7 MB, free: 4.848 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/0.3419, allocations: 291.1 kB / 411 MB, free: 4.613 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.3421, allocations: 0.7003 MB / 411.7 MB, free: 3.918 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.3421, allocations: 10.66 kB / 411.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3421, allocations: 4 kB / 411.7 MB, free: 3.906 MB / 286.1 MB Notification: Performance of Templates: time 0.008732/0.3508, allocations: 1.551 MB / 413.3 MB, free: 3.844 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe 2>&1)