Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.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.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",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.001107/0.001107, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008417/0.008417, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.734/1.734, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.003598/0.003598, allocations: 0.5585 MB / 292 MB, free: 1.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.000349, allocations: 8 kB / 353.4 MB, free: 2.387 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4059, allocations: 50.56 MB / 404 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.001314/0.4073, allocations: 304.5 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002717/0.4076, allocations: 51.31 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.4077, allocations: 1.156 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.003e-05/0.4077, allocations: 3.25 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.4078, allocations: 5.797 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.4079, allocations: 9.578 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.408, allocations: 50.69 kB / 404.4 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.468e-05/0.4081, allocations: 3.453 kB / 404.4 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.49e-05/0.4082, allocations: 20.05 kB / 404.4 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.4083, allocations: 30.5 kB / 404.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.4084, allocations: 7.625 kB / 404.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.648e-05/0.4084, allocations: 6.969 kB / 404.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.4085, allocations: 10.28 kB / 404.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.822e-05/0.4086, allocations: 51.48 kB / 404.5 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.4087, allocations: 31.14 kB / 404.5 MB, free: 9.965 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.4087, allocations: 0 / 404.5 MB, free: 9.965 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.652e-06/0.4088, allocations: 0.6094 kB / 404.5 MB, free: 9.965 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.4088, allocations: 1.406 kB / 404.5 MB, free: 9.965 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.0006434/0.4094, allocations: 365.2 kB / 404.9 MB, free: 9.602 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.39e-05/0.4095, allocations: 10.38 kB / 404.9 MB, free: 9.602 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.174e-05/0.4096, allocations: 36.58 kB / 404.9 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.4096, allocations: 9 kB / 405 MB, free: 9.559 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.4098, allocations: 176.5 kB / 405.1 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.4098, allocations: 2.969 kB / 405.1 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.4099, allocations: 15.66 kB / 405.1 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.4101, allocations: 70.3 kB / 405.2 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4101, allocations: 3.938 kB / 405.2 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.4101, allocations: 7.906 kB / 405.2 MB, free: 9.309 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.4101, allocations: 1.844 kB / 405.2 MB, free: 9.309 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.4102, allocations: 43.06 kB / 405.3 MB, free: 9.305 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007266/0.411, allocations: 308.6 kB / 405.6 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003898/0.4114, allocations: 122.9 kB / 405.7 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.683e-05/0.4115, allocations: 41.66 kB / 405.7 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.4115, allocations: 2.422 kB / 405.7 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.4115, allocations: 35.86 kB / 405.8 MB, free: 8.957 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.4116, allocations: 0 / 405.8 MB, free: 8.957 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.004487/0.416, allocations: 0.9402 MB / 406.7 MB, free: 8.648 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.4161, allocations: 52.53 kB / 406.8 MB, free: 8.586 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.4162, allocations: 114.1 kB / 406.9 MB, free: 8.484 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.4163, allocations: 29.92 kB / 406.9 MB, free: 8.453 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.4164, allocations: 88.78 kB / 407 MB, free: 8.363 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.93e-05/0.4164, allocations: 61.77 kB / 407.1 MB, free: 8.324 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.4165, allocations: 23.48 kB / 407.1 MB, free: 8.309 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.4166, allocations: 321.2 kB / 407.4 MB, free: 7.996 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.4167, allocations: 44.31 kB / 407.4 MB, free: 7.992 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.4169, allocations: 65.06 kB / 407.5 MB, free: 7.977 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003527/0.4204, allocations: 0.5934 MB / 408.1 MB, free: 7.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4204, allocations: 0 / 408.1 MB, free: 7.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001312/0.4217, allocations: 286.3 kB / 408.4 MB, free: 7.777 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.4218, allocations: 5.906 kB / 408.4 MB, free: 7.777 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.4218, allocations: 4.594 kB / 408.4 MB, free: 7.773 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/0.4233, allocations: 187.4 kB / 408.6 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.4234, allocations: 22.12 kB / 408.6 MB, free: 7.754 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003463/0.4269, allocations: 1.809 MB / 410.4 MB, free: 6.316 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.427, allocations: 5.625 kB / 410.4 MB, free: 6.312 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.427, allocations: 5.125 kB / 410.4 MB, free: 6.312 MB / 286.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: p1 = 100000.0. 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 (13): * Single equations (assignments): 12 * 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 {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000208/0.4272, allocations: 127.3 kB / 410.5 MB, free: 6.184 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.4273, allocations: 12.47 kB / 410.5 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.801e-05/0.4274, allocations: 19.23 kB / 410.6 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.4274, allocations: 1.156 kB / 410.6 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/0.4274, allocations: 2.625 kB / 410.6 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.4274, allocations: 1.922 kB / 410.6 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.429, allocations: 0.5712 MB / 411.1 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.429, allocations: 4.672 kB / 411.1 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.338e-05/0.4291, allocations: 19.91 kB / 411.2 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002647/0.4318, allocations: 307.8 kB / 411.5 MB, free: 5.711 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.4318, allocations: 3.078 kB / 411.5 MB, free: 5.711 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002925/0.4347, allocations: 1.81 MB / 413.3 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.4348, allocations: 2.141 kB / 413.3 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.4361, allocations: 443.1 kB / 413.7 MB, free: 3.93 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.4361, allocations: 84.11 kB / 413.8 MB, free: 3.832 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.4362, allocations: 1.906 kB / 413.8 MB, free: 3.832 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.4363, allocations: 6.203 kB / 413.8 MB, free: 3.828 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.4364, allocations: 20.78 kB / 413.8 MB, free: 3.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.4364, allocations: 5.328 kB / 413.8 MB, free: 3.82 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.594e-05/0.4364, allocations: 92.23 kB / 413.9 MB, free: 3.738 MB / 286.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4364, allocations: 0 / 413.9 MB, free: 3.738 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004073/0.4368, allocations: 31.16 kB / 413.9 MB, free: 3.734 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 8 * 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 {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00162/0.4385, allocations: 0.9688 MB / 414.9 MB, free: 2.953 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009612/0.4395, allocations: 316.8 kB / 415.2 MB, free: 2.773 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.4395, allocations: 0 / 415.2 MB, free: 2.773 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006521/0.4401, allocations: 262.1 kB / 415.5 MB, free: 2.609 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.4404, allocations: 7.375 kB / 415.5 MB, free: 2.605 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.444, allocations: 1.995 MB / 417.5 MB, free: 1.078 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.4442, allocations: 0.7013 MB / 418.2 MB, free: 392 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.219e-05/0.4442, allocations: 9.969 kB / 418.2 MB, free: 388 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.4443, allocations: 25.47 kB / 418.2 MB, free: 368 kB / 286.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4443, allocations: 0.9688 kB / 418.2 MB, free: 368 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1965/0.6408, allocations: 2.891 MB / 421.1 MB, free: 152 kB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003251/0.6412, allocations: 280 kB / 421.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.558, allocations: 7.203 kB / 421.4 MB, free: 15.77 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe 2>&1)