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-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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.001148/0.001148, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.00131/0.00131, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003408/0.003407, allocations: 0.543 MB / 291.5 MB, free: 1.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003481, allocations: 8 kB / 352.7 MB, free: 2.766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1348, allocations: 50.58 MB / 403.2 MB, free: 152 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial): time 0.285/0.4198, allocations: 287.3 kB / 403.5 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002893/0.4202, allocations: 47.73 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.786e-05/0.4202, allocations: 0 / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.26e-05/0.4203, allocations: 3.938 kB / 403.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.4204, allocations: 5.641 kB / 403.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.4205, allocations: 13.39 kB / 403.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.4206, allocations: 27.44 kB / 403.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.785e-05/0.4207, allocations: 6.141 kB / 403.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.749e-05/0.4208, allocations: 23.11 kB / 403.7 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.4209, allocations: 31.39 kB / 403.7 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.421, allocations: 2.938 kB / 403.7 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.428e-05/0.421, allocations: 4.219 kB / 403.7 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.154e-05/0.421, allocations: 9.922 kB / 403.7 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.4211, allocations: 41.66 kB / 403.7 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.748e-05/0.4212, allocations: 12.75 kB / 403.8 MB, free: 9.785 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4212, allocations: 0.625 kB / 403.8 MB, free: 9.785 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.898e-06/0.4212, allocations: 0 / 403.8 MB, free: 9.785 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.4212, allocations: 0.6875 kB / 403.8 MB, free: 9.785 MB / 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.0006868/0.4219, allocations: 364.2 kB / 404.1 MB, free: 9.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.741e-05/0.422, allocations: 12.84 kB / 404.1 MB, free: 9.426 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/0.422, allocations: 37.08 kB / 404.2 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.4221, allocations: 7.281 kB / 404.2 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.4223, allocations: 171.9 kB / 404.3 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.4223, allocations: 7.422 kB / 404.3 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.4223, allocations: 7.812 kB / 404.3 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.4225, allocations: 70.36 kB / 404.4 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4226, allocations: 0 / 404.4 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.4226, allocations: 2.141 kB / 404.4 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.4226, allocations: 0.8125 kB / 404.4 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.4227, allocations: 42.62 kB / 404.5 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006245/0.4234, allocations: 312.2 kB / 404.8 MB, free: 8.871 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.4238, allocations: 111.1 kB / 404.9 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.4238, allocations: 2.438 kB / 404.9 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.4238, allocations: 35.8 kB / 404.9 MB, free: 8.801 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.4238, allocations: 4 kB / 404.9 MB, free: 8.797 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.003713/0.4275, allocations: 0.8607 MB / 405.8 MB, free: 8.496 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.4276, allocations: 56.91 kB / 405.8 MB, free: 8.43 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.825e-05/0.4277, allocations: 114 kB / 405.9 MB, free: 8.328 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.4277, allocations: 29.45 kB / 406 MB, free: 8.297 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.4278, allocations: 86.83 kB / 406.1 MB, free: 8.211 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.4278, allocations: 57.14 kB / 406.1 MB, free: 8.176 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.4279, allocations: 7.969 kB / 406.1 MB, free: 8.172 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.428, allocations: 318 kB / 406.4 MB, free: 7.859 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.528e-05/0.4281, allocations: 39.59 kB / 406.5 MB, free: 7.859 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.4282, allocations: 62.39 kB / 406.5 MB, free: 7.836 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.4283, allocations: 43.42 kB / 406.6 MB, free: 7.836 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4283, allocations: 0 / 406.6 MB, free: 7.836 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001056/0.4294, allocations: 272.5 kB / 406.8 MB, free: 7.773 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.4294, allocations: 6.312 kB / 406.8 MB, free: 7.773 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4294, allocations: 3.938 kB / 406.9 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.4306, allocations: 182.3 kB / 407 MB, free: 7.754 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.861e-05/0.4307, allocations: 16.08 kB / 407 MB, free: 7.754 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.4332, allocations: 1.774 MB / 408.8 MB, free: 6.387 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.405e-05/0.4333, allocations: 12.22 kB / 408.8 MB, free: 6.383 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.4333, allocations: 4.781 kB / 408.8 MB, free: 6.383 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 (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.0001022/0.4334, allocations: 114.3 kB / 408.9 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.4335, allocations: 7.625 kB / 409 MB, free: 6.266 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.4335, allocations: 21.34 kB / 409 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4336, allocations: 2.062 kB / 409 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.4336, allocations: 2.688 kB / 409 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4336, allocations: 0 / 409 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.4338, allocations: 206.6 kB / 409.2 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4338, allocations: 0.9375 kB / 409.2 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.171e-05/0.4339, allocations: 10.52 kB / 409.2 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002204/0.4361, allocations: 298.1 kB / 409.5 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.4362, allocations: 5.062 kB / 409.5 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/0.4385, allocations: 1.79 MB / 411.3 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.4385, allocations: 0 / 411.3 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.4396, allocations: 404.5 kB / 411.7 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.4396, allocations: 81.36 kB / 411.8 MB, free: 4.277 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.4396, allocations: 4.75 kB / 411.8 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.4398, allocations: 5.875 kB / 411.8 MB, free: 4.27 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.4398, allocations: 20.89 kB / 411.8 MB, free: 4.262 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.4398, allocations: 8.797 kB / 411.8 MB, free: 4.258 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.662e-05/0.4399, allocations: 87 kB / 411.9 MB, free: 4.18 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4399, allocations: 5.75 kB / 411.9 MB, free: 4.176 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003692/0.4403, allocations: 28.5 kB / 411.9 MB, free: 4.172 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 (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.001335/0.4416, allocations: 0.9333 MB / 412.8 MB, free: 3.418 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006129/0.4422, allocations: 277 kB / 413.1 MB, free: 3.25 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.4422, allocations: 0 / 413.1 MB, free: 3.25 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003423/0.4426, allocations: 222.7 kB / 413.3 MB, free: 3.098 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.4428, allocations: 6.844 kB / 413.3 MB, free: 3.094 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.4447, allocations: 0.9701 MB / 414.3 MB, free: 2.398 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.445, allocations: 0.7106 MB / 415 MB, free: 1.695 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.67e-05/0.445, allocations: 5.828 kB / 415 MB, free: 1.695 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.4451, allocations: 24.67 kB / 415 MB, free: 1.676 MB / 286.1 MB Notification: Performance of SimCode: time 1.9e-07/0.4451, allocations: 3.938 kB / 415.1 MB, free: 1.672 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.4625, allocations: 2.786 MB / 417.8 MB, free: 1.461 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.4627, allocations: 259.6 kB / 418.1 MB, free: 1.109 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/2.276, allocations: 0 / 418.1 MB, free: 1.109 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/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)