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.001035/0.001035, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001193/0.001193, allocations: 168.7 kB / 15.95 MB, free: 204 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.492/1.492, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003083/0.003084, allocations: 0.5546 MB / 291.6 MB, free: 1.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003478, allocations: 8 kB / 352.8 MB, free: 2.738 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1348, allocations: 50.57 MB / 403.3 MB, free: 128 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial): time 0.2619/0.3967, allocations: 294.6 kB / 403.6 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002474/0.397, allocations: 51.67 kB / 403.7 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.45e-05/0.3971, allocations: 0.8125 kB / 403.7 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.848e-05/0.3971, allocations: 0 / 403.7 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.665e-05/0.3972, allocations: 8.625 kB / 403.7 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.978e-05/0.3973, allocations: 10.22 kB / 403.7 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.3974, allocations: 46.64 kB / 403.8 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.023e-05/0.3975, allocations: 2.625 kB / 403.8 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.3975, allocations: 20.67 kB / 403.8 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.3976, allocations: 29.72 kB / 403.8 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.3977, allocations: 3.656 kB / 403.8 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.688e-05/0.3977, allocations: 3.25 kB / 403.8 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.336e-05/0.3977, allocations: 15.27 kB / 403.8 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.3977, allocations: 34.17 kB / 403.9 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.237e-05/0.3978, allocations: 14.28 kB / 403.9 MB, free: 9.793 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3978, allocations: 0 / 403.9 MB, free: 9.793 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3978, allocations: 0 / 403.9 MB, free: 9.793 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.3979, allocations: 4 kB / 403.9 MB, free: 9.789 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.000455/0.3983, allocations: 363.4 kB / 404.2 MB, free: 9.434 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.3984, allocations: 10.31 kB / 404.2 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.3984, allocations: 37.06 kB / 404.3 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.3985, allocations: 7.844 kB / 404.3 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3986, allocations: 172.6 kB / 404.5 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.3986, allocations: 9.906 kB / 404.5 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.3986, allocations: 8.5 kB / 404.5 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.3988, allocations: 69.41 kB / 404.5 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3988, allocations: 1.422 kB / 404.5 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3988, allocations: 4.219 kB / 404.5 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3988, allocations: 0.9688 kB / 404.5 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.3989, allocations: 37.97 kB / 404.6 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005228/0.3995, allocations: 318.4 kB / 404.9 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.3998, allocations: 105.2 kB / 405 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.662e-05/0.3999, allocations: 35.64 kB / 405 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.3999, allocations: 1.594 kB / 405 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.3999, allocations: 32.27 kB / 405.1 MB, free: 8.797 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.3999, allocations: 1.5 kB / 405.1 MB, free: 8.797 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.003451/0.4034, allocations: 0.8668 MB / 405.9 MB, free: 8.488 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.4034, allocations: 56.06 kB / 406 MB, free: 8.426 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.928e-05/0.4035, allocations: 116.5 kB / 406.1 MB, free: 8.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.4036, allocations: 30.45 kB / 406.1 MB, free: 8.289 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.4036, allocations: 86.33 kB / 406.2 MB, free: 8.203 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.4037, allocations: 56.42 kB / 406.3 MB, free: 8.168 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-06/0.4037, allocations: 4.156 kB / 406.3 MB, free: 8.168 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.326e-05/0.4038, allocations: 318.7 kB / 406.6 MB, free: 7.855 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.189e-05/0.4038, allocations: 44.11 kB / 406.6 MB, free: 7.852 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.404, allocations: 55.36 kB / 406.7 MB, free: 7.836 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.4041, allocations: 54.53 kB / 406.7 MB, free: 7.828 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4041, allocations: 0 / 406.7 MB, free: 7.828 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009622/0.405, allocations: 265 kB / 407 MB, free: 7.77 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.4051, allocations: 5.75 kB / 407 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.4051, allocations: 4.688 kB / 407 MB, free: 7.766 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.4062, allocations: 182.1 kB / 407.2 MB, free: 7.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.557e-05/0.4063, allocations: 21.02 kB / 407.2 MB, free: 7.746 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.4086, allocations: 1.757 MB / 409 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.4087, allocations: 4.562 kB / 409 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.4087, allocations: 4.406 kB / 409 MB, free: 6.379 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.0001263/0.4089, allocations: 116.8 kB / 409.1 MB, free: 6.266 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.4089, allocations: 7.719 kB / 409.1 MB, free: 6.262 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.375e-05/0.409, allocations: 17.5 kB / 409.1 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.409, allocations: 2.188 kB / 409.1 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.409, allocations: 2.781 kB / 409.1 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.409, allocations: 12.64 kB / 409.1 MB, free: 6.246 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.4092, allocations: 198 kB / 409.3 MB, free: 6.059 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4092, allocations: 0 / 409.3 MB, free: 6.059 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.536e-05/0.4093, allocations: 14.64 kB / 409.3 MB, free: 6.055 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00191/0.4112, allocations: 294.1 kB / 409.6 MB, free: 6.035 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.4113, allocations: 4.953 kB / 409.6 MB, free: 6.035 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/0.4133, allocations: 1.761 MB / 411.4 MB, free: 4.602 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4133, allocations: 80 / 411.4 MB, free: 4.602 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009982/0.4143, allocations: 407.7 kB / 411.8 MB, free: 4.383 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.872e-05/0.4144, allocations: 79.55 kB / 411.9 MB, free: 4.289 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.4144, allocations: 2.469 kB / 411.9 MB, free: 4.289 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.592e-05/0.4145, allocations: 4 kB / 411.9 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.4145, allocations: 25.8 kB / 411.9 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.4146, allocations: 6.797 kB / 411.9 MB, free: 4.27 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.842e-05/0.4146, allocations: 92.34 kB / 412 MB, free: 4.188 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4146, allocations: 0 / 412 MB, free: 4.188 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000363/0.415, allocations: 34.16 kB / 412 MB, free: 4.18 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.00123/0.4162, allocations: 0.9288 MB / 413 MB, free: 3.434 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006534/0.4169, allocations: 282.8 kB / 413.2 MB, free: 3.258 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4169, allocations: 0 / 413.2 MB, free: 3.258 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.4172, allocations: 228.8 kB / 413.5 MB, free: 3.102 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.4175, allocations: 5.219 kB / 413.5 MB, free: 3.098 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.4192, allocations: 0.8197 MB / 414.3 MB, free: 2.555 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.4194, allocations: 0.6996 MB / 415 MB, free: 1.859 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.04e-05/0.4194, allocations: 10 kB / 415 MB, free: 1.855 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.223e-05/0.4195, allocations: 20.58 kB / 415 MB, free: 1.84 MB / 286.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4195, allocations: 0 / 415 MB, free: 1.84 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.4358, allocations: 2.815 MB / 417.8 MB, free: 1.621 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.436, allocations: 268.6 kB / 418.1 MB, free: 1.266 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.412, allocations: 2.5 kB / 418.1 MB, free: 1.266 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)