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.0008863/0.0008866, allocations: 86.72 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.0009852/0.0009853, 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.51/1.51, allocations: 223.3 MB / 240 MB, free: 5.395 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.002568/0.002568, allocations: 0.5508 MB / 291.6 MB, free: 1.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003652, allocations: 8 kB / 352.7 MB, free: 2.824 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1321, allocations: 50.57 MB / 403.3 MB, free: 224 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial): time 0.2881/0.4202, allocations: 293.7 kB / 403.5 MB, free: 9.309 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003271/0.4206, allocations: 48.69 kB / 403.6 MB, free: 9.309 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.4207, allocations: 0 / 403.6 MB, free: 9.309 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/0.4207, allocations: 3.938 kB / 403.6 MB, free: 9.305 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.4208, allocations: 5.062 kB / 403.6 MB, free: 9.305 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.421, allocations: 14.28 kB / 403.6 MB, free: 9.301 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.4211, allocations: 41.64 kB / 403.7 MB, free: 9.297 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.656e-05/0.4212, allocations: 3.469 kB / 403.7 MB, free: 9.297 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.062e-05/0.4213, allocations: 21.12 kB / 403.7 MB, free: 9.293 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.4214, allocations: 26.12 kB / 403.7 MB, free: 9.289 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.4214, allocations: 7.656 kB / 403.7 MB, free: 9.285 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.079e-05/0.4214, allocations: 3.156 kB / 403.7 MB, free: 9.285 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.859e-05/0.4215, allocations: 14 kB / 403.7 MB, free: 9.285 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.4215, allocations: 34.3 kB / 403.8 MB, free: 9.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.994e-05/0.4216, allocations: 16 kB / 403.8 MB, free: 9.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.4216, allocations: 3.312 kB / 403.8 MB, free: 9.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.048e-06/0.4216, allocations: 1.906 kB / 403.8 MB, free: 9.25 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.4216, allocations: 0 / 403.8 MB, free: 9.25 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.0005996/0.4222, allocations: 366.1 kB / 404.1 MB, free: 8.887 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.4223, allocations: 9.234 kB / 404.1 MB, free: 8.887 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.799e-05/0.4224, allocations: 8.031 kB / 404.2 MB, free: 8.883 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.4225, allocations: 171.4 kB / 404.3 MB, free: 8.68 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.4226, allocations: 6.062 kB / 404.3 MB, free: 8.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.4226, allocations: 12.16 kB / 404.3 MB, free: 8.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.4228, allocations: 71.14 kB / 404.4 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.4229, allocations: 3.938 kB / 404.4 MB, free: 8.637 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.4229, allocations: 6.656 kB / 404.4 MB, free: 8.637 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.4229, allocations: 1.219 kB / 404.4 MB, free: 8.637 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.423, allocations: 39.27 kB / 404.5 MB, free: 8.637 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005933/0.4236, allocations: 302.6 kB / 404.8 MB, free: 8.371 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.424, allocations: 110.7 kB / 404.9 MB, free: 8.34 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.507e-05/0.424, allocations: 37.33 kB / 404.9 MB, free: 8.332 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.4241, allocations: 0 / 404.9 MB, free: 8.332 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.4241, allocations: 35.94 kB / 404.9 MB, free: 8.289 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.4241, allocations: 0 / 404.9 MB, free: 8.289 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.003504/0.4276, allocations: 0.8618 MB / 405.8 MB, free: 7.988 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.4277, allocations: 53.28 kB / 405.8 MB, free: 7.926 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.4278, allocations: 112.2 kB / 406 MB, free: 7.824 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.4278, allocations: 33.02 kB / 406 MB, free: 7.789 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.4279, allocations: 94.56 kB / 406.1 MB, free: 7.699 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.519e-05/0.428, allocations: 60.02 kB / 406.1 MB, free: 7.664 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.428, allocations: 0 / 406.1 MB, free: 7.664 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.4281, allocations: 319.1 kB / 406.5 MB, free: 7.352 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.003e-05/0.4282, allocations: 40.55 kB / 406.5 MB, free: 7.352 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.4283, allocations: 61.95 kB / 406.6 MB, free: 7.332 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.4284, allocations: 45.78 kB / 406.6 MB, free: 7.332 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4284, allocations: 0 / 406.6 MB, free: 7.332 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009588/0.4294, allocations: 270.2 kB / 406.9 MB, free: 7.27 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.4294, allocations: 4.312 kB / 406.9 MB, free: 7.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.4294, allocations: 5.828 kB / 406.9 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.4306, allocations: 174.6 kB / 407 MB, free: 7.254 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.693e-05/0.4307, allocations: 20.12 kB / 407.1 MB, free: 7.254 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.4331, allocations: 1.759 MB / 408.8 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.003e-05/0.4331, allocations: 5.078 kB / 408.8 MB, free: 5.883 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.4332, allocations: 12.16 kB / 408.8 MB, free: 5.879 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 (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 {(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.4333, allocations: 119.2 kB / 409 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.4333, allocations: 7.656 kB / 409 MB, free: 5.758 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.4334, allocations: 17.88 kB / 409 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4334, allocations: 2.281 kB / 409 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.4334, allocations: 1.125 kB / 409 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4334, allocations: 1.125 kB / 409 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.4336, allocations: 209 kB / 409.2 MB, free: 5.555 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.4336, allocations: 10.52 kB / 409.2 MB, free: 5.547 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.297e-05/0.4337, allocations: 8.812 kB / 409.2 MB, free: 5.547 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001928/0.4356, allocations: 297.6 kB / 409.5 MB, free: 5.527 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.4356, allocations: 2.672 kB / 409.5 MB, free: 5.527 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002346/0.438, allocations: 1.755 MB / 411.3 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.438, allocations: 0 / 411.3 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.4391, allocations: 414.4 kB / 411.7 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.4392, allocations: 81.72 kB / 411.7 MB, free: 3.918 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.4392, allocations: 2.188 kB / 411.7 MB, free: 3.918 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.454e-05/0.4393, allocations: 5.344 kB / 411.7 MB, free: 3.918 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.998e-05/0.4394, allocations: 20.53 kB / 411.8 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.4394, allocations: 9.125 kB / 411.8 MB, free: 3.906 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.441e-05/0.4394, allocations: 95.98 kB / 411.9 MB, free: 3.824 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4394, allocations: 0 / 411.9 MB, free: 3.824 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003846/0.4398, allocations: 31.69 kB / 411.9 MB, free: 3.824 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 (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 {(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001316/0.44, allocations: 96.64 kB / 412 MB, free: 3.734 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006643/0.4406, allocations: 271.8 kB / 412.3 MB, free: 3.609 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4407, allocations: 4 kB / 412.3 MB, free: 3.605 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003765/0.441, allocations: 226.3 kB / 412.5 MB, free: 3.48 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.4413, allocations: 6.438 kB / 412.5 MB, free: 3.48 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/0.4419, allocations: 268.7 kB / 412.8 MB, free: 3.293 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.4421, allocations: 0.6988 MB / 413.5 MB, free: 2.594 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.991e-05/0.4422, allocations: 6.062 kB / 413.5 MB, free: 2.594 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.4422, allocations: 10 kB / 413.5 MB, free: 2.586 MB / 286.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4422, allocations: 0 / 413.5 MB, free: 2.586 MB / 286.1 MB Notification: Performance of Templates: time 0.006691/0.4489, allocations: 1.667 MB / 415.1 MB, free: 2.496 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)