Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.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.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",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.006468/0.006468, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.451/1.451, allocations: 223.2 MB / 239 MB, free: 1.793 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.000938/0.000938, allocations: 104.2 kB / 290.2 MB, free: 13.94 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.002776/0.002776, allocations: 0.5507 MB / 341.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003734, allocations: 14.17 kB / 403 MB, free: 98.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1158, allocations: 50.57 MB / 453.6 MB, free: 59.11 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08782/0.2037, allocations: 75.31 MB / 0.5165 GB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/0.2039, allocations: 63.97 kB / 0.5166 GB, free: 15.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002574/0.2065, allocations: 0.9831 MB / 0.5175 GB, free: 14.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2065, allocations: 0 / 0.5175 GB, free: 14.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.2065, allocations: 0 / 0.5175 GB, free: 14.65 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.0004056/0.2069, allocations: 375.1 kB / 0.5179 GB, free: 14.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.207, allocations: 8.031 kB / 0.5179 GB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/0.207, allocations: 38.55 kB / 0.5179 GB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.033e-05/0.2071, allocations: 11.91 kB / 0.5179 GB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.2072, allocations: 174.9 kB / 0.5181 GB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.2072, allocations: 0 / 0.5181 GB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.2072, allocations: 12 kB / 0.5181 GB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.2074, allocations: 61.67 kB / 0.5182 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.2074, allocations: 4 kB / 0.5182 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.2074, allocations: 352 / 0.5182 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.2074, allocations: 7.953 kB / 0.5182 GB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.371e-05/0.2075, allocations: 43.91 kB / 0.5182 GB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.208, allocations: 304.7 kB / 0.5185 GB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.2083, allocations: 106.5 kB / 0.5186 GB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.2083, allocations: 4 kB / 0.5186 GB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.2083, allocations: 38.52 kB / 0.5186 GB, free: 13.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.2083, allocations: 0 / 0.5186 GB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.002718/0.2111, allocations: 0.7627 MB / 0.5194 GB, free: 12.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.2111, allocations: 55.41 kB / 0.5194 GB, free: 12.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.96e-05/0.2112, allocations: 101 kB / 0.5195 GB, free: 12.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.2112, allocations: 25.7 kB / 0.5196 GB, free: 12.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.2113, allocations: 92 kB / 0.5197 GB, free: 12.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.2113, allocations: 51.25 kB / 0.5197 GB, free: 12.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-06/0.2114, allocations: 8 kB / 0.5197 GB, free: 12.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2115, allocations: 314.8 kB / 0.52 GB, free: 11.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.946e-05/0.2116, allocations: 39.98 kB / 0.52 GB, free: 11.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.529e-05/0.2116, allocations: 61.7 kB / 0.5201 GB, free: 11.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.113e-05/0.2117, allocations: 42.19 kB / 0.5201 GB, free: 11.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2117, allocations: 0 / 0.5201 GB, free: 11.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001667/0.2134, allocations: 357.8 kB / 0.5205 GB, free: 11.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2134, allocations: 4 kB / 0.5205 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2135, allocations: 0 / 0.5205 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001998/0.2155, allocations: 291.8 kB / 0.5208 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.339e-05/0.2155, allocations: 12 kB / 0.5208 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003845/0.2194, allocations: 2.128 MB / 0.5229 GB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.252e-05/0.2195, allocations: 11.98 kB / 0.5229 GB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.2195, allocations: 8 kB / 0.5229 GB, free: 8.742 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 (7): * Single equations (assignments): 6 * 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: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.2196, allocations: 113.8 kB / 0.523 GB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.2197, allocations: 15.86 kB / 0.523 GB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.2197, allocations: 16.5 kB / 0.523 GB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2197, allocations: 0 / 0.523 GB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.2197, allocations: 4 kB / 0.523 GB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2197, allocations: 0 / 0.523 GB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.2199, allocations: 205.5 kB / 0.5232 GB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.22, allocations: 0 / 0.5232 GB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.209e-05/0.22, allocations: 11.95 kB / 0.5232 GB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002184/0.2222, allocations: 300.4 kB / 0.5235 GB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.2222, allocations: 7.938 kB / 0.5235 GB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/0.2243, allocations: 1.77 MB / 0.5253 GB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2244, allocations: 0 / 0.5253 GB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.2255, allocations: 412 kB / 0.5256 GB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.2255, allocations: 77.11 kB / 0.5257 GB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.2256, allocations: 8 kB / 0.5257 GB, free: 5.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.2257, allocations: 8.031 kB / 0.5257 GB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.2257, allocations: 15.92 kB / 0.5258 GB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.2257, allocations: 0 / 0.5258 GB, free: 5.562 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.022e-05/0.2258, allocations: 95.2 kB / 0.5258 GB, free: 5.469 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2258, allocations: 0 / 0.5258 GB, free: 5.469 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003454/0.2262, allocations: 40 kB / 0.5259 GB, free: 5.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,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.001348/0.2275, allocations: 0.938 MB / 0.5268 GB, free: 4.465 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006361/0.2282, allocations: 300.4 kB / 0.5271 GB, free: 4.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2282, allocations: 0 / 0.5271 GB, free: 4.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.2285, allocations: 222.6 kB / 0.5273 GB, free: 3.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.2286, allocations: 11.94 kB / 0.5273 GB, free: 3.918 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.231, allocations: 1.059 MB / 0.5283 GB, free: 2.805 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.2314, allocations: 0.709 MB / 0.529 GB, free: 2.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.712e-05/0.2314, allocations: 8.562 kB / 0.529 GB, free: 2.062 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.437e-05/0.2315, allocations: 19.44 kB / 0.5291 GB, free: 2.047 MB / 362.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2315, allocations: 0 / 0.5291 GB, free: 2.047 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2038/0.4353, allocations: 3.465 MB / 0.5324 GB, free: 85.6 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/0.4355, allocations: 304.7 kB / 0.5327 GB, free: 85.24 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/2.02, allocations: 0 / 0.5327 GB, free: 85.24 MB / 362.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe 2>&1)