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.001161/0.001161, allocations: 98.27 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.001402/0.001402, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.632/1.632, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.003717/0.003717, allocations: 0.5505 MB / 292 MB, free: 1.59 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.000374, allocations: 12 kB / 353.4 MB, free: 2.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4008, allocations: 50.57 MB / 404 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature): time 0.0007941/0.4017, allocations: 308.8 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002412/0.402, allocations: 48.78 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.234e-05/0.402, allocations: 0.8125 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.402, allocations: 0 / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.956e-05/0.4021, allocations: 10.3 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.67e-05/0.4023, allocations: 11.3 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.894e-05/0.4023, allocations: 46.95 kB / 404.4 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.281e-05/0.4024, allocations: 5.391 kB / 404.4 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.933e-05/0.4025, allocations: 20.14 kB / 404.4 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.818e-05/0.4026, allocations: 30.84 kB / 404.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.4026, allocations: 3.5 kB / 404.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.655e-05/0.4026, allocations: 3.406 kB / 404.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.4026, allocations: 10.77 kB / 404.5 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.149e-05/0.4027, allocations: 54.92 kB / 404.5 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.104e-05/0.4028, allocations: 32.12 kB / 404.5 MB, free: 9.973 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4028, allocations: 1.219 kB / 404.5 MB, free: 9.973 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4028, allocations: 0 / 404.5 MB, free: 9.973 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.4028, allocations: 0 / 404.5 MB, free: 9.973 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.0004994/0.4033, allocations: 363.8 kB / 404.9 MB, free: 9.609 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.4034, allocations: 9 kB / 404.9 MB, free: 9.609 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.4034, allocations: 40.45 kB / 404.9 MB, free: 9.57 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.4035, allocations: 8.656 kB / 405 MB, free: 9.566 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.4036, allocations: 177.2 kB / 405.1 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.4036, allocations: 3.125 kB / 405.1 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.4036, allocations: 17.09 kB / 405.1 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.4038, allocations: 74.7 kB / 405.2 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4038, allocations: 3.938 kB / 405.2 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.4038, allocations: 4.594 kB / 405.2 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.4039, allocations: 0.9062 kB / 405.2 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.404, allocations: 39.53 kB / 405.3 MB, free: 9.309 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.4045, allocations: 306.8 kB / 405.6 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.4048, allocations: 107.7 kB / 405.7 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.202e-05/0.4049, allocations: 37.5 kB / 405.7 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.4049, allocations: 1.25 kB / 405.7 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.405, allocations: 31.81 kB / 405.7 MB, free: 8.965 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.405, allocations: 0 / 405.7 MB, free: 8.965 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002968/0.4079, allocations: 0.7625 MB / 406.5 MB, free: 8.66 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.408, allocations: 54.41 kB / 406.6 MB, free: 8.598 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.996e-05/0.4081, allocations: 110 kB / 406.7 MB, free: 8.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.4081, allocations: 28.7 kB / 406.7 MB, free: 8.469 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/0.4082, allocations: 91.08 kB / 406.8 MB, free: 8.383 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.4082, allocations: 58.89 kB / 406.8 MB, free: 8.344 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.4083, allocations: 23.28 kB / 406.9 MB, free: 8.328 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.664e-05/0.4084, allocations: 327 kB / 407.2 MB, free: 8.008 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.4085, allocations: 38.36 kB / 407.2 MB, free: 8.008 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.4086, allocations: 60.2 kB / 407.3 MB, free: 7.992 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.4088, allocations: 109.6 kB / 407.4 MB, free: 7.973 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4088, allocations: 0 / 407.4 MB, free: 7.973 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001667/0.4105, allocations: 362 kB / 407.7 MB, free: 7.898 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.4105, allocations: 5.984 kB / 407.7 MB, free: 7.898 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4106, allocations: 1 kB / 407.7 MB, free: 7.898 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001859/0.4124, allocations: 274.2 kB / 408 MB, free: 7.883 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.181e-05/0.4125, allocations: 9.359 kB / 408 MB, free: 7.883 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003755/0.4162, allocations: 2.102 MB / 410.1 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.092e-05/0.4163, allocations: 6 kB / 410.1 MB, free: 6.359 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.4164, allocations: 3.906 kB / 410.1 MB, free: 6.359 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 8.974e-05/0.4165, allocations: 121 kB / 410.3 MB, free: 6.234 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.4165, allocations: 8.25 kB / 410.3 MB, free: 6.23 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.4165, allocations: 28.94 kB / 410.3 MB, free: 6.207 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4166, allocations: 0 / 410.3 MB, free: 6.207 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.4166, allocations: 3.938 kB / 410.3 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4166, allocations: 4.312 kB / 410.3 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.4168, allocations: 198 kB / 410.5 MB, free: 5.996 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4168, allocations: 0 / 410.5 MB, free: 5.996 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-05/0.4168, allocations: 9.766 kB / 410.5 MB, free: 5.996 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002217/0.4191, allocations: 305.9 kB / 410.8 MB, free: 5.957 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.4191, allocations: 6.219 kB / 410.8 MB, free: 5.953 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/0.4211, allocations: 1.746 MB / 412.5 MB, free: 4.438 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4211, allocations: 3.938 kB / 412.6 MB, free: 4.434 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.4222, allocations: 419.5 kB / 413 MB, free: 4.203 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.4223, allocations: 84.25 kB / 413 MB, free: 4.105 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.4223, allocations: 5.953 kB / 413.1 MB, free: 4.102 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.4224, allocations: 1 kB / 413.1 MB, free: 4.102 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.4224, allocations: 16.48 kB / 413.1 MB, free: 4.098 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.4225, allocations: 4.531 kB / 413.1 MB, free: 4.098 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.25e-05/0.4225, allocations: 87.8 kB / 413.2 MB, free: 4.02 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4225, allocations: 0 / 413.2 MB, free: 4.02 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000385/0.4229, allocations: 39.19 kB / 413.2 MB, free: 4.012 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.001338/0.4242, allocations: 0.9398 MB / 414.1 MB, free: 3.25 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007413/0.425, allocations: 302.1 kB / 414.4 MB, free: 3.074 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.425, allocations: 1.031 kB / 414.4 MB, free: 3.074 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003406/0.4254, allocations: 223.3 kB / 414.7 MB, free: 2.922 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.4256, allocations: 12.06 kB / 414.7 MB, free: 2.914 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004313/0.4299, allocations: 2.09 MB / 416.8 MB, free: 1.402 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.4302, allocations: 0.7049 MB / 417.5 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.25e-05/0.4303, allocations: 4.953 kB / 417.5 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/0.4303, allocations: 24.11 kB / 417.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4303, allocations: 0 / 417.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.251/0.6814, allocations: 3.563 MB / 421 MB, free: 300 kB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003239/0.6818, allocations: 337.8 kB / 421.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/2.611, allocations: 1.156 kB / 421.4 MB, free: 15.91 MB / 302.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)