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.003571/0.003571, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003365/0.003365, allocations: 195.5 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.082/3.082, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.00906/0.00906, allocations: 0.5624 MB / 291 MB, free: 1.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003028/0.003028, allocations: 59.91 kB / 351.7 MB, free: 2.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.3009, allocations: 49.6 MB / 401.3 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial): time 0.005784/0.3069, allocations: 0.5714 MB / 401.8 MB, free: 8 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.5895/0.8964, allocations: 47.22 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.8968, allocations: 0 / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.085e-05/0.897, allocations: 4.875 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.8973, allocations: 6.5 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.8977, allocations: 15.52 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.8981, allocations: 47.14 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.8982, allocations: 3.859 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.225e-05/0.8983, allocations: 27.38 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.8984, allocations: 29.12 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.8985, allocations: 5.469 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.482e-05/0.8985, allocations: 3.375 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.558e-05/0.8986, allocations: 9.484 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.8986, allocations: 27.55 kB / 402 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.8988, allocations: 31.17 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.8988, allocations: 1.547 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.11e-06/0.8988, allocations: 0.5625 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.8988, allocations: 1.219 kB / 402.1 MB, free: 10.32 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.001454/0.9003, allocations: 372 kB / 402.4 MB, free: 9.957 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001551/0.9005, allocations: 10.12 kB / 402.5 MB, free: 9.957 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/0.9006, allocations: 40.97 kB / 402.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.449e-05/0.9007, allocations: 12.44 kB / 402.5 MB, free: 9.906 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.9012, allocations: 176.5 kB / 402.7 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.94e-05/0.9012, allocations: 3.375 kB / 402.7 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.987e-05/0.9014, allocations: 8.875 kB / 402.7 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/0.9017, allocations: 71.56 kB / 402.8 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.9017, allocations: 5.188 kB / 402.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.9018, allocations: 7.938 kB / 402.8 MB, free: 9.656 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.9018, allocations: 1.781 kB / 402.8 MB, free: 9.656 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.9019, allocations: 40.67 kB / 402.8 MB, free: 9.652 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.903, allocations: 311.1 kB / 403.1 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007516/0.9038, allocations: 105.6 kB / 403.2 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.9041, allocations: 33.92 kB / 403.3 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.9041, allocations: 5.219 kB / 403.3 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.444e-05/0.9042, allocations: 36.17 kB / 403.3 MB, free: 9.305 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 5.249e-06/0.9042, allocations: 0 / 403.3 MB, free: 9.305 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.005814/0.9101, allocations: 0.847 MB / 404.1 MB, free: 9.004 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.845e-05/0.9102, allocations: 56.81 kB / 404.2 MB, free: 8.941 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.9105, allocations: 106.8 kB / 404.3 MB, free: 8.844 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/0.9106, allocations: 30.14 kB / 404.3 MB, free: 8.812 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.9107, allocations: 94.67 kB / 404.4 MB, free: 8.723 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.9109, allocations: 55.62 kB / 404.5 MB, free: 8.688 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.911, allocations: 34.36 kB / 404.5 MB, free: 8.672 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002697/0.9113, allocations: 323 kB / 404.8 MB, free: 8.355 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.9116, allocations: 47.22 kB / 404.9 MB, free: 8.348 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.9118, allocations: 61.77 kB / 404.9 MB, free: 8.332 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.9122, allocations: 100.9 kB / 405 MB, free: 8.316 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.9123, allocations: 0 / 405 MB, free: 8.316 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001537/0.9138, allocations: 269.6 kB / 405.3 MB, free: 8.254 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.729e-05/0.9139, allocations: 4.688 kB / 405.3 MB, free: 8.254 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-05/0.914, allocations: 1.844 kB / 405.3 MB, free: 8.254 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001652/0.9156, allocations: 158.9 kB / 405.5 MB, free: 8.238 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.9159, allocations: 13 kB / 405.5 MB, free: 8.238 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004828/0.9208, allocations: 1.937 MB / 407.4 MB, free: 6.559 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.921, allocations: 2.734 kB / 407.4 MB, free: 6.559 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.921, allocations: 7.469 kB / 407.4 MB, free: 6.555 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 0.0001429/0.9211, allocations: 121.8 kB / 407.5 MB, free: 6.43 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.9212, allocations: 5.484 kB / 407.5 MB, free: 6.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.303e-05/0.9212, allocations: 19.64 kB / 407.6 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.9212, allocations: 10.77 kB / 407.6 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.9213, allocations: 5.656 kB / 407.6 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.9213, allocations: 1.078 kB / 407.6 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.9216, allocations: 199.7 kB / 407.8 MB, free: 6.199 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.9216, allocations: 0 / 407.8 MB, free: 6.199 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.386e-05/0.9217, allocations: 10.55 kB / 407.8 MB, free: 6.199 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002543/0.9242, allocations: 282.7 kB / 408.1 MB, free: 6.164 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.11e-05/0.9244, allocations: 8.234 kB / 408.1 MB, free: 6.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00466/0.9291, allocations: 1.937 MB / 410 MB, free: 4.453 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.9291, allocations: 0 / 410 MB, free: 4.453 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.9306, allocations: 406.1 kB / 410.4 MB, free: 4.23 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.9308, allocations: 83.53 kB / 410.5 MB, free: 4.133 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.9309, allocations: 10.52 kB / 410.5 MB, free: 4.125 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.9311, allocations: 0 / 410.5 MB, free: 4.125 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.9312, allocations: 14.86 kB / 410.5 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.9313, allocations: 5.062 kB / 410.5 MB, free: 4.121 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001445/0.9314, allocations: 91.2 kB / 410.6 MB, free: 4.043 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.9315, allocations: 0 / 410.6 MB, free: 4.043 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005558/0.932, allocations: 28.25 kB / 410.6 MB, free: 4.039 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.002501/0.9346, allocations: 0.9435 MB / 411.6 MB, free: 3.273 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.9362, allocations: 284.3 kB / 411.9 MB, free: 3.102 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/0.9363, allocations: 1.188 kB / 411.9 MB, free: 3.102 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006575/0.937, allocations: 229.3 kB / 412.1 MB, free: 2.941 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.9373, allocations: 9.781 kB / 412.1 MB, free: 2.938 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005798/0.9431, allocations: 1.881 MB / 414 MB, free: 1.496 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006965/0.9439, allocations: 0.7022 MB / 414.7 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.944, allocations: 6 kB / 414.7 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.9442, allocations: 20.25 kB / 414.7 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of SimCode: time 2.235e-06/0.9442, allocations: 0 / 414.7 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07733/1.022, allocations: 3.044 MB / 417.7 MB, free: 388 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.3/19.32, allocations: 31.45 kB / 417.8 MB, free: 364 kB / 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)