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/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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001106/0.001106, allocations: 191.9 kB / 16.14 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.157/1.157, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.00232/0.00232, allocations: 0.5686 MB / 290.5 MB, free: 1.938 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 59.91 kB / 351 MB, free: 2.711 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07084/0.07189, allocations: 49.6 MB / 400.6 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature): time 0.001423/0.07335, allocations: 0.6358 MB / 401.2 MB, free: 448 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001594/0.07352, allocations: 55.73 kB / 401.3 MB, free: 392 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.276e-05/0.07355, allocations: 4 kB / 401.3 MB, free: 388 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.07358, allocations: 0 / 401.3 MB, free: 388 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.105e-05/0.07364, allocations: 3.938 kB / 401.3 MB, free: 384 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.285e-05/0.07372, allocations: 11.97 kB / 401.3 MB, free: 372 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.22e-05/0.07379, allocations: 47.84 kB / 401.3 MB, free: 324 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.803e-05/0.07383, allocations: 4 kB / 401.3 MB, free: 320 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.834e-05/0.07387, allocations: 23.92 kB / 401.4 MB, free: 296 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.525e-05/0.07393, allocations: 31.83 kB / 401.4 MB, free: 264 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.07395, allocations: 4 kB / 401.4 MB, free: 260 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.07396, allocations: 4 kB / 401.4 MB, free: 256 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.07399, allocations: 15.92 kB / 401.4 MB, free: 240 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.07402, allocations: 27.86 kB / 401.4 MB, free: 212 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.005e-05/0.07408, allocations: 27.88 kB / 401.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.07409, allocations: 0 / 401.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.07409, allocations: 0 / 401.5 MB, free: 184 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.055e-06/0.0741, allocations: 0 / 401.5 MB, free: 184 kB / 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.1066/0.1807, allocations: 371.2 kB / 401.8 MB, free: 10.73 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1807, allocations: 9.188 kB / 401.8 MB, free: 10.73 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.802e-05/0.1807, allocations: 42.34 kB / 401.9 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.1808, allocations: 8.469 kB / 401.9 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.44e-05/0.1809, allocations: 181.2 kB / 402.1 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.1809, allocations: 5.812 kB / 402.1 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.1809, allocations: 9.219 kB / 402.1 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.181, allocations: 69.86 kB / 402.1 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.181, allocations: 7.156 kB / 402.2 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1811, allocations: 4.75 kB / 402.2 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1811, allocations: 0.8438 kB / 402.2 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.409e-05/0.1811, allocations: 41.62 kB / 402.2 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.1815, allocations: 301.8 kB / 402.5 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.1818, allocations: 105.7 kB / 402.6 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.773e-05/0.1818, allocations: 39.98 kB / 402.6 MB, free: 10.15 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.1819, allocations: 2.594 kB / 402.6 MB, free: 10.15 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.1e-05/0.1819, allocations: 32.64 kB / 402.7 MB, free: 10.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.1819, allocations: 0 / 402.7 MB, free: 10.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002403/0.1843, allocations: 0.7546 MB / 403.4 MB, free: 9.828 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.674e-05/0.1843, allocations: 53.56 kB / 403.5 MB, free: 9.766 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.404e-05/0.1844, allocations: 110.9 kB / 403.6 MB, free: 9.664 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.1844, allocations: 30.3 kB / 403.6 MB, free: 9.633 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.1844, allocations: 98.34 kB / 403.7 MB, free: 9.543 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.1845, allocations: 52.17 kB / 403.8 MB, free: 9.512 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.1845, allocations: 35.61 kB / 403.8 MB, free: 9.496 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.424e-05/0.1846, allocations: 323.8 kB / 404.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.634e-05/0.1846, allocations: 35.88 kB / 404.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.655e-05/0.1847, allocations: 65.19 kB / 404.2 MB, free: 9.16 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.1848, allocations: 114.1 kB / 404.3 MB, free: 9.137 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1848, allocations: 1.969 kB / 404.3 MB, free: 9.137 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001438/0.1863, allocations: 351.2 kB / 404.7 MB, free: 9.07 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1863, allocations: 6.031 kB / 404.7 MB, free: 9.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1863, allocations: 1.125 kB / 404.7 MB, free: 9.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00165/0.188, allocations: 279.6 kB / 404.9 MB, free: 9.035 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.89e-05/0.188, allocations: 11.12 kB / 405 MB, free: 9.035 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02707/0.2151, allocations: 2.092 MB / 407 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.856e-05/0.2152, allocations: 6.047 kB / 407.1 MB, free: 7.387 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.2152, allocations: 4.344 kB / 407.1 MB, free: 7.387 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 6.324e-05/0.2153, allocations: 117.5 kB / 407.2 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.2154, allocations: 12.62 kB / 407.2 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.2154, allocations: 22.27 kB / 407.2 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2154, allocations: 1.031 kB / 407.2 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2154, allocations: 5.844 kB / 407.2 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2154, allocations: 1.172 kB / 407.2 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.2156, allocations: 198.5 kB / 407.4 MB, free: 7.031 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2156, allocations: 3.844 kB / 407.4 MB, free: 7.031 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.889e-05/0.2157, allocations: 12.72 kB / 407.4 MB, free: 7.031 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001874/0.2176, allocations: 275.3 kB / 407.7 MB, free: 6.996 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.2176, allocations: 6.359 kB / 407.7 MB, free: 6.992 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.2192, allocations: 1.738 MB / 409.4 MB, free: 5.473 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2192, allocations: 1.344 kB / 409.4 MB, free: 5.473 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009094/0.2201, allocations: 415.1 kB / 409.8 MB, free: 5.242 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.632e-05/0.2201, allocations: 84.38 kB / 409.9 MB, free: 5.145 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.2201, allocations: 6.516 kB / 409.9 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.2202, allocations: 1.219 kB / 409.9 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.2203, allocations: 17.62 kB / 410 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.2203, allocations: 8.516 kB / 410 MB, free: 5.133 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.679e-05/0.2203, allocations: 88.2 kB / 410 MB, free: 5.055 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2203, allocations: 3.938 kB / 410.1 MB, free: 5.051 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003178/0.2207, allocations: 33.72 kB / 410.1 MB, free: 5.047 MB / 286.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001045/0.2217, allocations: 0.9366 MB / 411 MB, free: 4.285 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005206/0.2222, allocations: 295 kB / 411.3 MB, free: 4.109 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2223, allocations: 8.969 kB / 411.3 MB, free: 4.102 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.2225, allocations: 228 kB / 411.5 MB, free: 3.945 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.2227, allocations: 9.109 kB / 411.5 MB, free: 3.941 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/0.2263, allocations: 2.079 MB / 413.6 MB, free: 2.445 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.2264, allocations: 0.7083 MB / 414.3 MB, free: 1.742 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.325e-05/0.2264, allocations: 3.984 kB / 414.3 MB, free: 1.742 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.2265, allocations: 24.19 kB / 414.4 MB, free: 1.723 MB / 286.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2265, allocations: 1.125 kB / 414.4 MB, free: 1.723 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.693/3.919, allocations: 3.598 MB / 418 MB, free: 1.273 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/3.919, allocations: 330.8 kB / 418.3 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.792/7.712, allocations: 8 kB / 418.3 MB, free: 0.8867 MB / 286.1 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/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)