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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, 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.001186/0.001186, allocations: 194.6 kB / 16.14 MB, free: 6.688 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.214/1.214, allocations: 222.9 MB / 239.8 MB, free: 4.543 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.002365/0.002365, allocations: 0.5623 MB / 290.5 MB, free: 1.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 55.91 kB / 351 MB, free: 2.688 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08234/0.08354, allocations: 49.6 MB / 400.6 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial): time 0.001645/0.08521, allocations: 0.6455 MB / 401.2 MB, free: 408 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00019/0.08542, allocations: 47.75 kB / 401.3 MB, free: 360 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.08546, allocations: 0 / 401.3 MB, free: 360 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.08549, allocations: 0 / 401.3 MB, free: 360 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.652e-05/0.08557, allocations: 7.922 kB / 401.3 MB, free: 352 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.524e-05/0.08566, allocations: 11.98 kB / 401.3 MB, free: 340 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.257e-05/0.08573, allocations: 39.91 kB / 401.3 MB, free: 300 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.08578, allocations: 7.984 kB / 401.3 MB, free: 292 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.112e-05/0.08582, allocations: 19.92 kB / 401.4 MB, free: 272 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.83e-05/0.08589, allocations: 35.84 kB / 401.4 MB, free: 236 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.08591, allocations: 4 kB / 401.4 MB, free: 232 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.08593, allocations: 4 kB / 401.4 MB, free: 228 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.08596, allocations: 11.92 kB / 401.4 MB, free: 216 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.08599, allocations: 27.86 kB / 401.4 MB, free: 188 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.833e-05/0.08607, allocations: 23.89 kB / 401.5 MB, free: 164 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.08608, allocations: 3.984 kB / 401.5 MB, free: 160 kB / 286.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.08608, allocations: 3.938 kB / 401.5 MB, free: 156 kB / 286.1 MB Notification: Performance of Transformations before backend: time 2.856e-06/0.08609, allocations: 0 / 401.5 MB, free: 156 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.122/0.2081, allocations: 373 kB / 401.8 MB, free: 10.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2081, allocations: 10.55 kB / 401.8 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.647e-05/0.2082, allocations: 36.88 kB / 401.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.545e-05/0.2082, allocations: 9.672 kB / 401.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.971e-05/0.2083, allocations: 170.2 kB / 402.1 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.2083, allocations: 6.062 kB / 402.1 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.2083, allocations: 5.781 kB / 402.1 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.2084, allocations: 69.23 kB / 402.1 MB, free: 9.996 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2085, allocations: 8.656 kB / 402.1 MB, free: 9.992 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.2085, allocations: 5.031 kB / 402.1 MB, free: 9.992 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2085, allocations: 1.156 kB / 402.1 MB, free: 9.992 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.693e-05/0.2086, allocations: 42.53 kB / 402.2 MB, free: 9.992 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.209, allocations: 319.1 kB / 402.5 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.2092, allocations: 105 kB / 402.6 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.074e-05/0.2093, allocations: 40.77 kB / 402.6 MB, free: 9.688 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.2093, allocations: 1.312 kB / 402.6 MB, free: 9.688 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.2093, allocations: 36.67 kB / 402.7 MB, free: 9.648 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.183e-06/0.2093, allocations: 0 / 402.7 MB, free: 9.648 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002939/0.2123, allocations: 0.8406 MB / 403.5 MB, free: 9.371 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.76e-05/0.2123, allocations: 57.81 kB / 403.6 MB, free: 9.305 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.133e-05/0.2123, allocations: 109.3 kB / 403.7 MB, free: 9.207 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.2124, allocations: 30.98 kB / 403.7 MB, free: 9.176 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.2124, allocations: 101.2 kB / 403.8 MB, free: 9.082 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.2124, allocations: 52.5 kB / 403.9 MB, free: 9.051 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.2125, allocations: 38.14 kB / 403.9 MB, free: 9.031 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.696e-05/0.2125, allocations: 322.8 kB / 404.2 MB, free: 8.715 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-05/0.2126, allocations: 40.69 kB / 404.3 MB, free: 8.715 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.108e-05/0.2127, allocations: 59.95 kB / 404.3 MB, free: 8.695 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.2128, allocations: 103.5 kB / 404.4 MB, free: 8.68 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2128, allocations: 0 / 404.4 MB, free: 8.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000873/0.2137, allocations: 270 kB / 404.7 MB, free: 8.617 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.2137, allocations: 4.5 kB / 404.7 MB, free: 8.617 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2137, allocations: 1.125 kB / 404.7 MB, free: 8.617 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008789/0.2146, allocations: 151.7 kB / 404.8 MB, free: 8.605 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.708e-05/0.2147, allocations: 21.19 kB / 404.9 MB, free: 8.602 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.2164, allocations: 1.747 MB / 406.6 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.348e-05/0.2165, allocations: 1.828 kB / 406.6 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.2165, allocations: 13.92 kB / 406.6 MB, free: 7.234 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 (12): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 6.621e-05/0.2166, allocations: 112.9 kB / 406.7 MB, free: 7.121 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.2166, allocations: 15.06 kB / 406.7 MB, free: 7.113 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.2167, allocations: 19.62 kB / 406.8 MB, free: 7.109 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2167, allocations: 2.5 kB / 406.8 MB, free: 7.109 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.2167, allocations: 2.281 kB / 406.8 MB, free: 7.109 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2167, allocations: 0.7031 kB / 406.8 MB, free: 7.109 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.2169, allocations: 196.3 kB / 407 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2169, allocations: 4 kB / 407 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.064e-05/0.217, allocations: 10.69 kB / 407 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001773/0.2187, allocations: 277.7 kB / 407.2 MB, free: 6.895 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2188, allocations: 9.672 kB / 407.3 MB, free: 6.891 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.2203, allocations: 1.735 MB / 409 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2204, allocations: 1.969 kB / 409 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009269/0.2213, allocations: 412.6 kB / 409.4 MB, free: 5.207 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.2213, allocations: 84.66 kB / 409.5 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.2213, allocations: 10.11 kB / 409.5 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.2214, allocations: 0.6562 kB / 409.5 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.2215, allocations: 19.95 kB / 409.5 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.2215, allocations: 3.656 kB / 409.5 MB, free: 5.094 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.583e-05/0.2215, allocations: 91.36 kB / 409.6 MB, free: 5.012 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2215, allocations: 1.438 kB / 409.6 MB, free: 5.012 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003122/0.2219, allocations: 33.33 kB / 409.6 MB, free: 5.004 MB / 286.1 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 (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.001044/0.2229, allocations: 0.9458 MB / 410.6 MB, free: 4.238 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004082/0.2233, allocations: 269.3 kB / 410.8 MB, free: 4.074 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2233, allocations: 1.25 kB / 410.8 MB, free: 4.074 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.2236, allocations: 224.2 kB / 411.1 MB, free: 3.922 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.2238, allocations: 11.36 kB / 411.1 MB, free: 3.914 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.2263, allocations: 1.899 MB / 413 MB, free: 2.453 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.2264, allocations: 0.7047 MB / 413.7 MB, free: 1.754 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.742e-05/0.2264, allocations: 5.031 kB / 413.7 MB, free: 1.754 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.2265, allocations: 25.88 kB / 413.7 MB, free: 1.734 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2265, allocations: 0 / 413.7 MB, free: 1.734 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.54/1.767, allocations: 2.868 MB / 416.6 MB, free: 1.449 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/1.767, allocations: 299.2 kB / 416.9 MB, free: 1.062 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/3.319, allocations: 0 / 416.9 MB, free: 1.062 MB / 286.1 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/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)