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/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+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 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: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00202/0.00202, allocations: 180.9 kB / 7.651 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.86/1.86, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.001142/0.001142, allocations: 97.12 kB / 280.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.004148/0.004147, allocations: 0.5623 MB / 331.8 MB, free: 14.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.414e-05/2.413e-05, allocations: 0 / 388.7 MB, free: 5.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4176, allocations: 50.57 MB / 439.3 MB, free: 19.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.5396, allocations: 74.49 MB / 0.5017 GB, free: 8.754 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003659/0.5401, allocations: 63.91 kB / 0.5018 GB, free: 8.691 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003038/0.5431, allocations: 0.9123 MB / 0.5027 GB, free: 7.781 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.526e-06/0.5432, allocations: 0 / 0.5027 GB, free: 7.781 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.5433, allocations: 0 / 0.5027 GB, free: 7.781 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.0005949/0.5439, allocations: 370.3 kB / 0.503 GB, free: 7.375 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.611e-05/0.544, allocations: 8.031 kB / 0.503 GB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/0.544, allocations: 4 kB / 0.503 GB, free: 7.363 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.5443, allocations: 170.9 kB / 0.5032 GB, free: 7.156 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.5443, allocations: 0 / 0.5032 GB, free: 7.156 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/0.5443, allocations: 11.94 kB / 0.5032 GB, free: 7.145 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001258/0.5445, allocations: 31.98 kB / 0.5032 GB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.5446, allocations: 61.69 kB / 0.5033 GB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.5447, allocations: 4.344 kB / 0.5033 GB, free: 7.043 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.5447, allocations: 3.953 kB / 0.5033 GB, free: 7.039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.5447, allocations: 0 / 0.5033 GB, free: 7.039 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006811/0.5454, allocations: 281.4 kB / 0.5036 GB, free: 6.727 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.5457, allocations: 114.7 kB / 0.5037 GB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.513e-05/0.5458, allocations: 32.86 kB / 0.5037 GB, free: 6.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.5459, allocations: 0 / 0.5037 GB, free: 6.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.5459, allocations: 34.56 kB / 0.5037 GB, free: 6.527 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.5459, allocations: 0 / 0.5037 GB, free: 6.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.002847/0.5488, allocations: 0.7282 MB / 0.5045 GB, free: 5.742 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.5488, allocations: 51.41 kB / 0.5045 GB, free: 5.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.5489, allocations: 104.9 kB / 0.5046 GB, free: 5.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.549, allocations: 29.7 kB / 0.5046 GB, free: 5.535 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.5491, allocations: 84.47 kB / 0.5047 GB, free: 5.445 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.5491, allocations: 59.11 kB / 0.5048 GB, free: 5.387 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.5491, allocations: 0 / 0.5048 GB, free: 5.387 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5493, allocations: 322.8 kB / 0.5051 GB, free: 5.062 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.758e-05/0.5493, allocations: 36.38 kB / 0.5051 GB, free: 5.027 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.076e-05/0.5494, allocations: 60.14 kB / 0.5052 GB, free: 4.965 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/0.5519, allocations: 456.8 kB / 0.5056 GB, free: 4.504 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.5519, allocations: 0 / 0.5056 GB, free: 4.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008864/0.5528, allocations: 258 kB / 0.5058 GB, free: 4.242 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.5528, allocations: 8 kB / 0.5059 GB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.5529, allocations: 0 / 0.5059 GB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009046/0.5538, allocations: 160.6 kB / 0.506 GB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.237e-05/0.5539, allocations: 19.98 kB / 0.506 GB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/0.5567, allocations: 1.749 MB / 0.5077 GB, free: 2.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.448e-05/0.5568, allocations: 48 / 0.5077 GB, free: 2.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.5568, allocations: 7.984 kB / 0.5077 GB, free: 2.184 MB / 346.7 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 () * 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.0002112/0.557, allocations: 109 kB / 0.5078 GB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009464/0.558, allocations: 259.5 kB / 0.5081 GB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.558, allocations: 7.906 kB / 0.5081 GB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.5581, allocations: 12.75 kB / 0.5081 GB, free: 1.781 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.5581, allocations: 4 kB / 0.5081 GB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5581, allocations: 0 / 0.5081 GB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5581, allocations: 0 / 0.5081 GB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.5595, allocations: 0.5238 MB / 0.5086 GB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5595, allocations: 0 / 0.5086 GB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.879e-05/0.5596, allocations: 8 kB / 0.5086 GB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001875/0.5615, allocations: 292.4 kB / 0.5089 GB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.5615, allocations: 7.922 kB / 0.5089 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002547/0.5641, allocations: 1.728 MB / 0.5106 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5641, allocations: 4.094 kB / 0.5106 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.5652, allocations: 432.9 kB / 0.511 GB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.5652, allocations: 81.02 kB / 0.5111 GB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.5653, allocations: 4 kB / 0.5111 GB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.5654, allocations: 3.953 kB / 0.5111 GB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.5654, allocations: 15.95 kB / 0.5111 GB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.5655, allocations: 8.281 kB / 0.5111 GB, free: 14.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.674e-05/0.5655, allocations: 83.28 kB / 0.5112 GB, free: 14.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5655, allocations: 4 kB / 0.5112 GB, free: 14.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003868/0.5659, allocations: 24 kB / 0.5112 GB, free: 14.36 MB / 362.7 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 () * 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.001453/0.5674, allocations: 1.02 MB / 0.5122 GB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008238/0.5682, allocations: 281.6 kB / 0.5125 GB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5682, allocations: 0 / 0.5125 GB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005596/0.5688, allocations: 247.9 kB / 0.5127 GB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.569, allocations: 0.5469 kB / 0.5127 GB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.5696, allocations: 237.2 kB / 0.513 GB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.5699, allocations: 0.7085 MB / 0.5137 GB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.776e-05/0.57, allocations: 4.891 kB / 0.5137 GB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.703e-05/0.5701, allocations: 27.42 kB / 0.5137 GB, free: 11.73 MB / 362.7 MB Notification: Performance of SimCode: time 3.656e-06/0.5701, allocations: 0 / 0.5137 GB, free: 11.73 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.5966, allocations: 2.299 MB / 0.5159 GB, free: 9.473 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002791/0.597, allocations: 196.4 kB / 0.5161 GB, free: 9.215 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.374, allocations: 0 / 0.5161 GB, free: 9.215 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe 2>&1)