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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.0009735/0.0009733, allocations: 178.4 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 221.5 MB / 229.6 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009523/0.0009524, allocations: 89.72 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003447/0.003447, allocations: 0.5622 MB / 331.8 MB, free: 14.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.603e-05/1.597e-05, allocations: 3.938 kB / 388.6 MB, free: 5.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3176, allocations: 50.57 MB / 439.2 MB, free: 19.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1084/0.4261, allocations: 74.49 MB / 0.5016 GB, free: 8.766 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.4264, allocations: 63.91 kB / 0.5017 GB, free: 8.703 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002359/0.4287, allocations: 0.9041 MB / 0.5026 GB, free: 7.801 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4288, allocations: 0 / 0.5026 GB, free: 7.801 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.4288, allocations: 4 kB / 0.5026 GB, free: 7.797 MB / 346.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.0003933/0.4292, allocations: 362.3 kB / 0.5029 GB, free: 7.398 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.4292, allocations: 8.031 kB / 0.5029 GB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.4293, allocations: 4 kB / 0.5029 GB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.4295, allocations: 170.9 kB / 0.5031 GB, free: 7.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.4295, allocations: 4 kB / 0.5031 GB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.4295, allocations: 4 kB / 0.5031 GB, free: 7.172 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001073/0.4296, allocations: 35.98 kB / 0.5031 GB, free: 7.137 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.4297, allocations: 57.69 kB / 0.5032 GB, free: 7.074 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4298, allocations: 8.266 kB / 0.5032 GB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.4298, allocations: 3.953 kB / 0.5032 GB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4298, allocations: 0 / 0.5032 GB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.4303, allocations: 281.4 kB / 0.5035 GB, free: 6.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.4305, allocations: 102.5 kB / 0.5036 GB, free: 6.641 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.031e-05/0.4306, allocations: 36.86 kB / 0.5036 GB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.4306, allocations: 0 / 0.5036 GB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.4307, allocations: 30.56 kB / 0.5036 GB, free: 6.562 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 9.62e-07/0.4307, allocations: 0 / 0.5036 GB, free: 6.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.002418/0.4331, allocations: 0.6976 MB / 0.5043 GB, free: 5.809 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.4331, allocations: 51.41 kB / 0.5043 GB, free: 5.746 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.874e-05/0.4332, allocations: 101 kB / 0.5044 GB, free: 5.641 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.4333, allocations: 25.7 kB / 0.5045 GB, free: 5.609 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.4333, allocations: 95.94 kB / 0.5046 GB, free: 5.512 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.4334, allocations: 47.17 kB / 0.5046 GB, free: 5.465 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.4334, allocations: 4 kB / 0.5046 GB, free: 5.461 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4336, allocations: 318.8 kB / 0.5049 GB, free: 5.141 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.48e-05/0.4336, allocations: 43.94 kB / 0.505 GB, free: 5.098 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.478e-05/0.4337, allocations: 49.7 kB / 0.505 GB, free: 5.043 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.116e-05/0.4338, allocations: 45.55 kB / 0.505 GB, free: 5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4338, allocations: 0 / 0.505 GB, free: 5 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008419/0.4347, allocations: 239.6 kB / 0.5053 GB, free: 4.758 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.4347, allocations: 4 kB / 0.5053 GB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.4347, allocations: 4 kB / 0.5053 GB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008453/0.4355, allocations: 148.7 kB / 0.5054 GB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.938e-05/0.4356, allocations: 15.94 kB / 0.5054 GB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.4377, allocations: 1.697 MB / 0.5071 GB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.4378, allocations: 0 / 0.5071 GB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.4378, allocations: 8 kB / 0.5071 GB, free: 2.766 MB / 346.7 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 () * 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 9.105e-05/0.4379, allocations: 105 kB / 0.5072 GB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.438, allocations: 11.86 kB / 0.5072 GB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.438, allocations: 16.75 kB / 0.5072 GB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.438, allocations: 4 kB / 0.5072 GB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.438, allocations: 4.031 kB / 0.5072 GB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4381, allocations: 0 / 0.5072 GB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.4383, allocations: 170.2 kB / 0.5074 GB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4383, allocations: 0 / 0.5074 GB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.887e-05/0.4383, allocations: 12 kB / 0.5074 GB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001642/0.44, allocations: 276.5 kB / 0.5077 GB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.44, allocations: 7.938 kB / 0.5077 GB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.4418, allocations: 1.681 MB / 0.5093 GB, free: 328 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4418, allocations: 3.938 kB / 0.5093 GB, free: 324 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009311/0.4428, allocations: 389.7 kB / 0.5097 GB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.4428, allocations: 85.02 kB / 0.5098 GB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.4429, allocations: 7.953 kB / 0.5098 GB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.443, allocations: 0 / 0.5098 GB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.443, allocations: 20.02 kB / 0.5098 GB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.443, allocations: 0 / 0.5098 GB, free: 15.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.216e-05/0.4431, allocations: 87.75 kB / 0.5099 GB, free: 15.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4431, allocations: 0 / 0.5099 GB, free: 15.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003134/0.4434, allocations: 24 kB / 0.5099 GB, free: 15.68 MB / 362.7 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 () * 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.0001264/0.4435, allocations: 103.2 kB / 0.51 GB, free: 15.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004782/0.444, allocations: 253.6 kB / 0.5103 GB, free: 15.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.444, allocations: 4 kB / 0.5103 GB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.4443, allocations: 201.6 kB / 0.5105 GB, free: 15.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.4445, allocations: 5.422 kB / 0.5105 GB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.4448, allocations: 178.5 kB / 0.5106 GB, free: 14.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.4451, allocations: 0.7008 MB / 0.5113 GB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.889e-05/0.4451, allocations: 8.547 kB / 0.5113 GB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.048e-05/0.4452, allocations: 11.44 kB / 0.5113 GB, free: 14.15 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4452, allocations: 4 kB / 0.5113 GB, free: 14.14 MB / 362.7 MB Notification: Performance of Templates: time 0.004067/0.4493, allocations: 1.538 MB / 0.5128 GB, free: 12.64 MB / 362.7 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)