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.001242/0.001242, allocations: 108 kB / 15.6 MB, free: 132 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.001524/0.001524, allocations: 195.7 kB / 16.53 MB, free: 6.391 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.46/1.46, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.003208/0.003208, allocations: 0.5586 MB / 290.9 MB, free: 1.688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 67.89 kB / 351.6 MB, free: 2.281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1193, allocations: 49.59 MB / 401.1 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.002126/0.1215, allocations: 0.5681 MB / 401.7 MB, free: 84 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000207/0.1217, allocations: 47.86 kB / 401.8 MB, free: 36 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.1218, allocations: 4 kB / 401.8 MB, free: 32 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.1218, allocations: 3.938 kB / 401.8 MB, free: 28 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.381e-05/0.1219, allocations: 15.86 kB / 401.8 MB, free: 12 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2135/0.3354, allocations: 17.06 kB / 401.8 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.3356, allocations: 46.17 kB / 401.8 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.768e-05/0.3357, allocations: 3.422 kB / 401.8 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.171e-05/0.3357, allocations: 20.44 kB / 401.9 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.3359, allocations: 29.75 kB / 401.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.3359, allocations: 3.844 kB / 401.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.65e-05/0.3359, allocations: 3.812 kB / 401.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.336, allocations: 13.81 kB / 401.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.336, allocations: 26.28 kB / 401.9 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.3361, allocations: 31.69 kB / 402 MB, free: 10.29 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3361, allocations: 0.7031 kB / 402 MB, free: 10.29 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3361, allocations: 0 / 402 MB, free: 10.29 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3362, 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.0004978/0.3367, allocations: 376.1 kB / 402.3 MB, free: 9.926 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3367, allocations: 9.438 kB / 402.4 MB, free: 9.926 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.3368, allocations: 8.688 kB / 402.4 MB, free: 9.922 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.3369, allocations: 177.3 kB / 402.5 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.3369, allocations: 7.219 kB / 402.5 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.3369, allocations: 8.031 kB / 402.5 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.3371, allocations: 68.73 kB / 402.6 MB, free: 9.688 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.3371, allocations: 1.344 kB / 402.6 MB, free: 9.688 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.3371, allocations: 5.375 kB / 402.6 MB, free: 9.684 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3371, allocations: 2.5 kB / 402.6 MB, free: 9.684 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.051e-05/0.3372, allocations: 37.98 kB / 402.7 MB, free: 9.684 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.3377, allocations: 315.3 kB / 403 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.3381, allocations: 122.8 kB / 403.1 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.08e-05/0.3382, allocations: 40.39 kB / 403.1 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.3382, allocations: 4.188 kB / 403.1 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.3382, allocations: 36.62 kB / 403.2 MB, free: 9.332 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.3382, allocations: 0 / 403.2 MB, free: 9.332 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003612/0.3418, allocations: 0.926 MB / 404.1 MB, free: 9.035 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.3419, allocations: 54.61 kB / 404.1 MB, free: 8.973 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.422e-05/0.3419, allocations: 109.7 kB / 404.3 MB, free: 8.875 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.342, allocations: 26.89 kB / 404.3 MB, free: 8.844 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.342, allocations: 86.39 kB / 404.4 MB, free: 8.762 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.3421, allocations: 65.11 kB / 404.4 MB, free: 8.723 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.3421, allocations: 39.83 kB / 404.5 MB, free: 8.703 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.006e-05/0.3422, allocations: 321.9 kB / 404.8 MB, free: 8.387 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.818e-05/0.3423, allocations: 42.88 kB / 404.8 MB, free: 8.387 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.347e-05/0.3424, allocations: 65.25 kB / 404.9 MB, free: 8.371 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002657/0.345, allocations: 0.5727 MB / 405.5 MB, free: 8.234 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3451, allocations: 0 / 405.5 MB, free: 8.234 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009084/0.346, allocations: 279.6 kB / 405.7 MB, free: 8.172 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.346, allocations: 5.531 kB / 405.7 MB, free: 8.172 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.346, allocations: 0 / 405.7 MB, free: 8.172 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009123/0.3469, allocations: 157.2 kB / 405.9 MB, free: 8.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.309e-05/0.347, allocations: 22.25 kB / 405.9 MB, free: 8.145 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/0.3494, allocations: 1.978 MB / 407.9 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.042e-05/0.3495, allocations: 2.219 kB / 407.9 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.3495, allocations: 10.66 kB / 407.9 MB, free: 6.418 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: 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 (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 {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001985/0.3497, allocations: 129.7 kB / 408 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.3498, allocations: 8.938 kB / 408 MB, free: 6.285 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/0.3498, allocations: 22.47 kB / 408.1 MB, free: 6.262 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3498, allocations: 2.891 kB / 408.1 MB, free: 6.262 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.3498, allocations: 4.969 kB / 408.1 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3498, allocations: 1.453 kB / 408.1 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.3511, allocations: 0.5684 MB / 408.6 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3511, allocations: 0 / 408.6 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.3512, allocations: 16.52 kB / 408.7 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001969/0.3532, allocations: 283.6 kB / 408.9 MB, free: 5.824 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.3532, allocations: 7.031 kB / 408.9 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00227/0.3555, allocations: 1.978 MB / 410.9 MB, free: 4.109 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3555, allocations: 1.031 kB / 410.9 MB, free: 4.109 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.3566, allocations: 434.4 kB / 411.3 MB, free: 3.867 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.609e-05/0.3566, allocations: 88.47 kB / 411.4 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.3566, allocations: 6.641 kB / 411.4 MB, free: 3.762 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.3567, allocations: 2.297 kB / 411.4 MB, free: 3.762 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.3568, allocations: 20.05 kB / 411.5 MB, free: 3.754 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.3568, allocations: 4.516 kB / 411.5 MB, free: 3.754 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.821e-05/0.3569, allocations: 89.73 kB / 411.6 MB, free: 3.676 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3569, allocations: 0 / 411.6 MB, free: 3.676 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003594/0.3572, allocations: 30.88 kB / 411.6 MB, free: 3.672 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 (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 {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.542e-05/0.3573, allocations: 102.1 kB / 411.7 MB, free: 3.574 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008148/0.3581, allocations: 312.2 kB / 412 MB, free: 3.402 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.3582, allocations: 8 kB / 412 MB, free: 3.395 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005436/0.3587, allocations: 264.5 kB / 412.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.359, allocations: 8.266 kB / 412.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.3594, allocations: 255 kB / 412.5 MB, free: 3.031 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.3596, allocations: 0.7019 MB / 413.2 MB, free: 2.336 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.001e-05/0.3596, allocations: 10.25 kB / 413.2 MB, free: 2.332 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.3596, allocations: 11.59 kB / 413.2 MB, free: 2.324 MB / 286.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3596, allocations: 0 / 413.2 MB, free: 2.324 MB / 286.1 MB Notification: Performance of Templates: time 0.005035/0.3647, allocations: 1.76 MB / 415 MB, free: 2.223 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)