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.007029/0.007029, allocations: 99.3 kB / 15.73 MB, free: 6.043 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.00152/0.00152, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.003094/0.003095, allocations: 0.5585 MB / 291.1 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1997/0.1997, allocations: 59.58 kB / 401.9 MB, free: 9.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.3125, allocations: 49.59 MB / 451.5 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial): time 0.001802/0.3144, allocations: 0.5793 MB / 452.1 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002401/0.3146, allocations: 46.91 kB / 452.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.3147, allocations: 0 / 452.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.3148, allocations: 3.938 kB / 452.2 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.179e-05/0.3149, allocations: 7.922 kB / 452.2 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001046/0.315, allocations: 7.984 kB / 452.2 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.203e-05/0.3151, allocations: 59.83 kB / 452.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.434e-05/0.3152, allocations: 7.984 kB / 452.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.337e-05/0.3152, allocations: 19.92 kB / 452.3 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.674e-05/0.3153, allocations: 27.84 kB / 452.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.3153, allocations: 4 kB / 452.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.3153, allocations: 0 / 452.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.3154, allocations: 15.92 kB / 452.3 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.3154, allocations: 23.86 kB / 452.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.197e-05/0.3155, allocations: 35.83 kB / 452.4 MB, free: 5.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3155, allocations: 0 / 452.4 MB, free: 5.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3155, allocations: 0 / 452.4 MB, free: 5.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.3155, allocations: 8 kB / 452.4 MB, free: 5.043 MB / 318.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.0005392/0.3161, allocations: 365.6 kB / 452.7 MB, free: 4.637 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3161, allocations: 8.031 kB / 452.7 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.3162, allocations: 42.73 kB / 452.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.3162, allocations: 12.84 kB / 452.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.3163, allocations: 168.3 kB / 453 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.3164, allocations: 384 / 453 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.3164, allocations: 20.28 kB / 453 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.3166, allocations: 74.11 kB / 453 MB, free: 4.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3166, allocations: 3.938 kB / 453 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3166, allocations: 7.984 kB / 453.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3166, allocations: 0 / 453.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.765e-05/0.3167, allocations: 35.98 kB / 453.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.3172, allocations: 308.8 kB / 453.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.3175, allocations: 114.5 kB / 453.5 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.819e-05/0.3176, allocations: 36.84 kB / 453.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.3176, allocations: 0 / 453.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.3176, allocations: 34.56 kB / 453.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 8.62e-07/0.3176, allocations: 0 / 453.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.003219/0.3208, allocations: 0.8514 MB / 454.4 MB, free: 2.758 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.3209, allocations: 55.41 kB / 454.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.25e-05/0.321, allocations: 109.8 kB / 454.6 MB, free: 2.574 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.321, allocations: 29.7 kB / 454.6 MB, free: 2.539 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.889e-05/0.3211, allocations: 84.14 kB / 454.7 MB, free: 2.453 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.3211, allocations: 67.17 kB / 454.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.3212, allocations: 29.62 kB / 454.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3213, allocations: 326.8 kB / 455.1 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.942e-05/0.3214, allocations: 39.98 kB / 455.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-05/0.3215, allocations: 57.69 kB / 455.2 MB, free: 1.922 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.3217, allocations: 104.4 kB / 455.3 MB, free: 1.816 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3217, allocations: 4 kB / 455.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009023/0.3226, allocations: 266 kB / 455.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3226, allocations: 4 kB / 455.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.3226, allocations: 4.031 kB / 455.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009121/0.3235, allocations: 149 kB / 455.7 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.567e-05/0.3237, allocations: 19.94 kB / 455.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.3261, allocations: 1.943 MB / 457.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.3262, allocations: 4 kB / 457.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.3262, allocations: 4 kB / 457.7 MB, free: 15.28 MB / 334.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.0001096/0.3264, allocations: 121.8 kB / 457.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.3264, allocations: 7.906 kB / 457.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.3264, allocations: 16.5 kB / 457.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3265, allocations: 8 kB / 457.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3265, allocations: 48 / 457.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3265, allocations: 3.984 kB / 457.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.3267, allocations: 205.5 kB / 458.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3267, allocations: 0 / 458.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.3268, allocations: 23.86 kB / 458.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/0.3286, allocations: 268.4 kB / 458.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.3286, allocations: 11.98 kB / 458.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002309/0.3309, allocations: 1.932 MB / 460.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.331, allocations: 3.984 kB / 460.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.332, allocations: 408.2 kB / 460.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.3321, allocations: 85.02 kB / 460.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.3321, allocations: 7.875 kB / 460.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.3322, allocations: 8 kB / 460.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.3323, allocations: 16.02 kB / 460.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.3323, allocations: 0 / 460.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.499e-05/0.3323, allocations: 91.27 kB / 460.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3323, allocations: 0 / 460.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003535/0.3327, allocations: 32 kB / 460.9 MB, free: 11.82 MB / 334.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.001278/0.334, allocations: 0.9393 MB / 461.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005603/0.3346, allocations: 270.5 kB / 462.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3346, allocations: 0 / 462.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003241/0.3349, allocations: 229.7 kB / 462.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.3351, allocations: 8.375 kB / 462.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.3382, allocations: 1.904 MB / 464.3 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.3385, allocations: 0.6967 MB / 465 MB, free: 7.613 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.773e-05/0.3385, allocations: 12.55 kB / 465 MB, free: 7.598 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.3386, allocations: 25.16 kB / 465 MB, free: 7.574 MB / 334.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3386, allocations: 0 / 465 MB, free: 7.574 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.3622, allocations: 3.201 MB / 468.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.758/10.12, allocations: 13.59 kB / 468.2 MB, free: 4.598 MB / 334.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)