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+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.TwoVolumesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial",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.005524/0.005524, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.2 MB / 239 MB, free: 1.809 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.001005/0.001005, allocations: 93.86 kB / 290.2 MB, free: 13.93 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.002476/0.002476, allocations: 0.5641 MB / 341.9 MB, free: 10.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003589, allocations: 8.562 kB / 403 MB, free: 98.35 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1147, allocations: 50.57 MB / 453.6 MB, free: 59.12 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09382/0.2086, allocations: 75.22 MB / 0.5164 GB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/0.2088, allocations: 59.97 kB / 0.5165 GB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002376/0.2112, allocations: 0.9179 MB / 0.5174 GB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2112, allocations: 0 / 0.5174 GB, free: 14.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.2112, allocations: 4 kB / 0.5174 GB, free: 14.82 MB / 362.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.0004575/0.2117, allocations: 367.2 kB / 0.5177 GB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.2118, allocations: 12.03 kB / 0.5177 GB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.2118, allocations: 42.55 kB / 0.5178 GB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.2119, allocations: 7.906 kB / 0.5178 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.212, allocations: 163 kB / 0.5179 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.2121, allocations: 7.938 kB / 0.5179 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.2121, allocations: 11.94 kB / 0.518 GB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.2123, allocations: 68.92 kB / 0.518 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2123, allocations: 0 / 0.518 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.2123, allocations: 4.344 kB / 0.518 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.2123, allocations: 7.953 kB / 0.518 GB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.682e-05/0.2124, allocations: 39.97 kB / 0.5181 GB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.213, allocations: 304.8 kB / 0.5184 GB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.2133, allocations: 110.5 kB / 0.5185 GB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.2133, allocations: 4 kB / 0.5185 GB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.2133, allocations: 34.52 kB / 0.5185 GB, free: 13.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.2134, allocations: 4 kB / 0.5185 GB, free: 13.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.003351/0.2167, allocations: 0.8616 MB / 0.5193 GB, free: 12.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.2168, allocations: 55.41 kB / 0.5194 GB, free: 12.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.018e-05/0.2169, allocations: 101 kB / 0.5195 GB, free: 12.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.2169, allocations: 29.69 kB / 0.5195 GB, free: 12.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.217, allocations: 95.91 kB / 0.5196 GB, free: 12.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.217, allocations: 55.19 kB / 0.5197 GB, free: 12.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.217, allocations: 8 kB / 0.5197 GB, free: 12.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.2172, allocations: 318.8 kB / 0.52 GB, free: 11.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-05/0.2173, allocations: 39.98 kB / 0.52 GB, free: 11.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.044e-05/0.2174, allocations: 61.69 kB / 0.5201 GB, free: 11.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.599e-05/0.2175, allocations: 40 kB / 0.5201 GB, free: 11.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.2175, allocations: 0 / 0.5201 GB, free: 11.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001028/0.2185, allocations: 275.8 kB / 0.5204 GB, free: 11.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.2185, allocations: 8 kB / 0.5204 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2186, allocations: 0 / 0.5204 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.2198, allocations: 180.6 kB / 0.5206 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.2199, allocations: 19.98 kB / 0.5206 GB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002495/0.2224, allocations: 1.768 MB / 0.5223 GB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.127e-05/0.2225, allocations: 4 kB / 0.5223 GB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.2225, allocations: 4 kB / 0.5223 GB, free: 9.344 MB / 362.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 () * 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.0001186/0.2226, allocations: 121.8 kB / 0.5224 GB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.2227, allocations: 7.906 kB / 0.5224 GB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.2227, allocations: 20.44 kB / 0.5225 GB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2227, allocations: 8 kB / 0.5225 GB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.2228, allocations: 4 kB / 0.5225 GB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2228, allocations: 0 / 0.5225 GB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.223, allocations: 209.6 kB / 0.5227 GB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.223, allocations: 0 / 0.5227 GB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.352e-05/0.2231, allocations: 8 kB / 0.5227 GB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00231/0.2254, allocations: 296.4 kB / 0.523 GB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.2254, allocations: 8 kB / 0.523 GB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002459/0.2279, allocations: 1.777 MB / 0.5247 GB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2279, allocations: 0 / 0.5247 GB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.2291, allocations: 414.7 kB / 0.5251 GB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.2291, allocations: 77.11 kB / 0.5252 GB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.2291, allocations: 0 / 0.5252 GB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.2293, allocations: 12 kB / 0.5252 GB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.2293, allocations: 12.02 kB / 0.5252 GB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.2293, allocations: 8 kB / 0.5252 GB, free: 6.148 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.151e-05/0.2294, allocations: 83.27 kB / 0.5253 GB, free: 6.066 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2294, allocations: 4 kB / 0.5253 GB, free: 6.062 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003556/0.2298, allocations: 32 kB / 0.5253 GB, free: 6.031 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 () * 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.001435/0.2312, allocations: 0.9473 MB / 0.5262 GB, free: 5.055 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005592/0.2318, allocations: 280.6 kB / 0.5265 GB, free: 4.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2318, allocations: 0 / 0.5265 GB, free: 4.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003225/0.2321, allocations: 222.5 kB / 0.5267 GB, free: 4.539 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.2323, allocations: 11.12 kB / 0.5267 GB, free: 4.531 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.2341, allocations: 0.97 MB / 0.5277 GB, free: 3.508 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.2344, allocations: 0.7128 MB / 0.5284 GB, free: 2.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.239e-05/0.2345, allocations: 4.547 kB / 0.5284 GB, free: 2.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.2345, allocations: 19.44 kB / 0.5284 GB, free: 2.75 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2346, allocations: 0 / 0.5284 GB, free: 2.75 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.2501, allocations: 2.796 MB / 0.5311 GB, free: 216 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2624/0.5126, allocations: 253.4 kB / 0.5314 GB, free: 89.91 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.225, allocations: 1.094 kB / 0.5314 GB, free: 89.91 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe 2>&1)